Xymon Mailing List Archive search

DS anomaly

list Galen Johnson
Thu, 18 Jun 2015 23:09:13 +0000
Message-Id: <user-af0b79d227e4@xymon.invalid>

That's always worked for me...one thought would be if your quotes are out of balance somewhere before that entry...

=G=

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