[hobbit] "absolute values" in RRD graph

W.J.M. Nelis nelis at nlr.nl
Wed Jan 27 08:19:38 CET 2010


> I want to get statistics about up/down time on our Solaris cluster in a 
> graph form.
> I would like to see 4 states in a graph.
> 3 - UP
> 2 - FAILED OVER
> 1 - PLANNED DOWNTIME
> 0 - DOWN
>
> I got the cluster script that reports these states to BB or Xymon.
> But I can't find a way to do the graph.
> RRD graphs seems to always average out data.
> The problem is that I want to report the absolute values and not the 
> averaged out data that seems to be default.
> For instance if the cluster is DOWN ( 0 ) for 10 minutes I would like 
> that state to remain and not to averaged out to 2.5 after an hour.
>
> Is this possible?
>   
Yes. Use another Consolidation Function (CF) in the RRD. The default CF 
is AVERAGE, in this case MIN will do what you want. There are two ways 
to implement it. The first one is to delete the current RRD en recreate 
it with the same parameters, except for the CF to use. The second way is 
to extend the current RRD with another CF. This can be done on the fly, 
thus without losing any history.

Regards,
  Wim Nelis.



*******************************************************************************************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
*******************************************************************************************************




More information about the Xymon mailing list