Xymon Mailing List Archive search

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

list Jeremy Laidman
Wed, 14 Aug 2013 11:59:04 +1000
Message-Id: <user-9a59b0e12386@xymon.invalid>

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 <user-99a1d785ed51@xymon.invalid> 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