Xymon Mailing List Archive search

DS anomaly

4 messages in this thread

list David Welker · Wed, 17 Jun 2015 13:20:55 -0400 ·
I set up a DS alert, which works very well except for one minor detail.  No
matter what I do, a lone double quote shows up in the alert message.

For example, here's the analysis.cfg line:
DS name conn.rrd:value >1.0 COLOR=red TEXT="Connect exceeds alert level"
...resulting in this display line:
"Connect exceeds alert level

DS name conn.rrd:value >1.0 COLOR=red "TEXT=Connect exceeds alert level"
...resulting in this display line:
"Connect exceeds alert level

DS name conn.rrd:value >1.0 COLOR=red TEXT=Connect" exceeds alert level"
...resulting in this display line:
Connect" exceeds alert level

For reference, I'm on Unix using Xymon 4.3.12 still.  If this was problem
related to this version and has been fixed, please let me know.  Otherwise,
any suggestions would be appreciated.

Thanks!

David
list David Welker · Thu, 18 Jun 2015 13:52:10 -0400 ·
Hearing no solution, I kept plugging away until I found one.  Don't use any
quotes whatsoever, and use non-breaking space codes between words:
DS name conn.rrd:value >1.0 COLOR=red
TEXT=Connect exceeds alert  level
...resulting in this display line:
Connect exceeds alert level

Regards,

David
quoted from David Welker

On Wed, Jun 17, 2015 at 1:20 PM, David Welker <user-04cf53598626@xymon.invalid> wrote:
I set up a DS alert, which works very well except for one minor detail.
No matter what I do, a lone double quote shows up in the alert message.

For example, here's the analysis.cfg line:
DS name conn.rrd:value >1.0 COLOR=red TEXT="Connect exceeds alert level"
...resulting in this display line:
"Connect exceeds alert level

DS name conn.rrd:value >1.0 COLOR=red "TEXT=Connect exceeds alert level"
...resulting in this display line:
"Connect exceeds alert level

DS name conn.rrd:value >1.0 COLOR=red TEXT=Connect" exceeds alert level"
...resulting in this display line:
Connect" exceeds alert level

For reference, I'm on Unix using Xymon 4.3.12 still.  If this was problem
related to this version and has been fixed, please let me know.  Otherwise,
any suggestions would be appreciated.

Thanks!

David
list Japheth Cleaver · Thu, 18 Jun 2015 11:00:43 -0700 ·
A line like this should actually work; for me, it returns it without a quote:
DS name conn.rrd:value >1.0 COLOR=red "TEXT=Connect exceeds alert level"
This is on 4.3.21, however... it's possible this was fixed at some point
in between.


Regards,
-jc
quoted from David Welker


On Thu, June 18, 2015 10:52 am, David Welker wrote:
Hearing no solution, I kept plugging away until I found one.  Don't use
any
quotes whatsoever, and use non-breaking space codes between words:
DS name conn.rrd:value >1.0 COLOR=red
TEXT=Connect&nbsp;exceeds&nbsp;alert&nbsp; level
...resulting in this display line:
Connect exceeds alert level

Regards,

David

On Wed, Jun 17, 2015 at 1:20 PM, David Welker <user-04cf53598626@xymon.invalid> wrote:
I set up a DS alert, which works very well except for one minor detail.
No matter what I do, a lone double quote shows up in the alert message.

For example, here's the analysis.cfg line:
DS name conn.rrd:value >1.0 COLOR=red TEXT="Connect exceeds alert level"
...resulting in this display line:
"Connect exceeds alert level

DS name conn.rrd:value >1.0 COLOR=red "TEXT=Connect exceeds alert level"
...resulting in this display line:
"Connect exceeds alert level

DS name conn.rrd:value >1.0 COLOR=red TEXT=Connect" exceeds alert level"
...resulting in this display line:
Connect" exceeds alert level

For reference, I'm on Unix using Xymon 4.3.12 still.  If this was
problem
related to this version and has been fixed, please let me know.
Otherwise,
any suggestions would be appreciated.

Thanks!

David
list Galen Johnson · Thu, 18 Jun 2015 23:09:13 +0000 ·
That's always worked for me...one thought would be if your quotes are out of balance somewhere before that entry...

=G=
quoted from Japheth Cleaver

From: Xymon <xymon-bounces at xymon.com> on behalf of J.C. Cleaver <user-87556346d4af@xymon.invalid>
Sent: Thursday, June 18, 2015 2:00 PM
To: David Welker
Cc: xymon at xymon.com
Subject: Re: [Xymon] DS anomaly

A line like this should actually work; for me, it returns it without a quote:
DS name conn.rrd:value >1.0 COLOR=red "TEXT=Connect exceeds alert level"
This is on 4.3.21, however... it's possible this was fixed at some point
in between.


Regards,
-jc


On Thu, June 18, 2015 10:52 am, David Welker wrote:
Hearing no solution, I kept plugging away until I found one.  Don't use
any
quotes whatsoever, and use non-breaking space codes between words:
DS name conn.rrd:value >1.0 COLOR=red
TEXT=Connect&nbsp;exceeds&nbsp;alert&nbsp; level
...resulting in this display line:
Connect exceeds alert level

Regards,

David

On Wed, Jun 17, 2015 at 1:20 PM, David Welker <user-04cf53598626@xymon.invalid> wrote:
I set up a DS alert, which works very well except for one minor detail.
No matter what I do, a lone double quote shows up in the alert message.

For example, here's the analysis.cfg line:
DS name conn.rrd:value >1.0 COLOR=red TEXT="Connect exceeds alert level"
...resulting in this display line:
"Connect exceeds alert level

DS name conn.rrd:value >1.0 COLOR=red "TEXT=Connect exceeds alert level"
...resulting in this display line:
"Connect exceeds alert level

DS name conn.rrd:value >1.0 COLOR=red TEXT=Connect" exceeds alert level"
...resulting in this display line:
Connect" exceeds alert level

For reference, I'm on Unix using Xymon 4.3.12 still.  If this was
problem
related to this version and has been fixed, please let me know.
Otherwise,
any suggestions would be appreciated.

Thanks!

David