[rrd-users] Re: indicate collector down on graph

Simon Hobson linux at thehobsons.co.uk
Sat Nov 4 07:42:06 MET 2006


Ford, Andy wrote:

>  > How about keeping another rrd file and just put a zero (or something)
>>  into it whenever you put anything in the ping-time rrd ? That way, if
>>  your collector is down, this new rrd will have nan as well as the
>>  ping time graph - so you can simply draw a red block if the monitor
>>  rrd is nan, otherwise simply plot the ping time and have a gap if the
>>  remote host is down. This monitor rrd would need to have exactly the
>>  same sample periods etc as the ping-time one, and be updated by the
>>  same script at the same time (or as near as is possible).

>Ah Hah! Knew someone had to have thought this out for me. Thanks Simon.
>Now the question is, can I use just one "collector-down" rrd for 100
>different collectors?
>I.e., if I update an rrd designed for 1 update a minute 100 times a
>minute, will it be OK?

I don't see why you can't use one 'flag file' for multiple real data 
files - it's a really a case of "am I confident that this flag file 
will show the collector as being down when the real data says 'nan'" ?

Simon

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list