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.
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