[Xymon] using the status message to update colors and/or rrd values

Bryan Levin blevin at seven.com
Wed Aug 14 06:38:53 CEST 2013


yes, in fact, I can get the current color status and then resend it back; but its wasteful and I'd prefer not to have to make 2 trips when only 1 is needed.

what I am hoping for is a 'no-op' color.  a color you could use which does not change colors but only serves to preserve the parameter ordering and does the rrd data-throw, only.

if there is not an already-solved way to do this, I will consider editing the source to create such a no-op color.


________________________________
Subject: RE: [Xymon] using the status message to update colors and/or rrd values

Why not use xymondboard to get the current color of the test and then echo it back with the new text?

Subject: Re: [Xymon] using the status message to update colors and/or rrd values

I think you can do this with a data message.  But it goes into the "heynow" RRD file, and won't show the value on the "heynow" page.  However you can have the graph displayed on the page.



On 14 August 2013 08:42, Bryan Levin <blevin at seven.com<mailto:blevin at seven.com>> wrote:
hi,

we're using xymon at our company and we have our own data poller which sends updated colors and numerical values to the various objects on the xymon 'map'.

as is typical, our script runs as:

/usr/local/xymon/server/bin/xymon localhost 'status+1w 1.2.3.4_abc.heynow yellow `date`

heynow : 3.14
'

and this works great when I want to send BOTH a color AND a value to this object.

if I want to send just a new color to this object, the short form also works great:

/usr/local/xymon/server/bin/xymon localhost 'status+1w 1.2.3.4_abc.heynow yellow'

but is there any way to send JUST the value update and leave the color unchanged?

sometimes we have a trap coming in and that might want to update just the color.  other times, we have a poller (of our own) that does not want to disturb any already-set colors but wants to just throw another sample at the rrd graph that is controlled by this object.

before I dive into the source code, I wonder if this is already supported somehow.

TIA,

.bl




_______________________________________________
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
http://lists.xymon.com/mailman/listinfo/xymon




More information about the Xymon mailing list