Xymon Mailing List Archive search

Custom test with NCV

list Adam Goryachev
Fri, 11 Jan 2013 01:15:39 +1100
Message-Id: <user-99c540c34b59@xymon.invalid>

On 11/01/13 01:04, Michael Beatty wrote:
This is done in the xymonserver.cfg file.

You need to specify the full string to configure the RRD. By default
MIN and MAX are unlimited.  To do so you would need to expand the
NCV_slab command as displayed in the documentation "How to setup
custom graphs"

NCV_slab="inodecache:GAUGE:600:0:U,dentrycache:GAUGE:600:0:U"

This is in the format data_set:set_type:heartbeat:min:max

If anyone on the Xymon team reads this, I would like to see this added
to the documentation.
I'm assuming I will need to delete my rrd files to make this take
effect. Is there some way to manually adjust the rrd files so that I
don't lose my history (I have 5 months history so far)?

Also, perhaps some method to delete the negative values changing them to
unknowns would be best. I assume that will cause rrd to automatically
determine the value based on the previous and next value, or else just
put a gap on the graph (either of those would be preferable).

Thanks,
Adam
Michael Beatty

On 01/10/2013 06:47 AM, Adam Goryachev wrote:
I have written a couple of custom tests, and they are reporting data
back to xymon, which is then using the NCV to import into a RRD file.

However, sometimes the values wrap around, and then my graph gets a
massive negative value showing.

How can I tell hobbit to setup the RRD file such that the minimum valid
value is 0, which would at least discard the single wrong value...

Currently, one value has a minimum of -6M while all other values are
between 0 and max of 119000 but I can't see anything on the graph
because of the single massive negative value?

I did actually think rrd was smart enough to notice wraps like this, but
perhaps I've created the RRD wrong, or specified something incorrectly?

Thanks,
Adam
-- 
Adam Goryachev
Website Managers
Ph: +XX X XXXX XXXX                            user-eaec2ffb4cbc@xymon.invalid
Fax: +XX X XXXX XXXX                            www.websitemanagers.com.au


-- 
Adam Goryachev
Website Managers
www.websitemanagers.com.au