[Xymon] using the status message to update colors and/or rrd values
Root, Paul T
Paul.Root at CenturyLink.com
Wed Aug 14 04:17:52 CEST 2013
Why not use xymondboard to get the current color of the test and then echo it back with the new text?
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Jeremy Laidman
Sent: Tuesday, August 13, 2013 8:59 PM
To: Bryan Levin
Cc: xymon at xymon.com
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130814/8079c679/attachment.html>
More information about the Xymon
mailing list