Look at rrdtool tune
The tune option allows you to alter some of the basic configuration values stored in the header area of a Round Robin Database (RRD).
Such as min:max values of ds-name.
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Adam Goryachev Sent: 10 January 2013 14:16 To: xymon at xymon.com Subject: Re: [Xymon] Custom test with NCV
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- Adam Goryachev Website Managers Ph: +61 2 8304 0000 adam at websitemanagers.com.au Fax: +61 2 8304 0001 www.websitemanagers.com.au
-- Adam Goryachev Website Managers www.websitemanagers.com.au
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).