[rrd-users] Advice on a ping graph

Steve Shipway s.shipway at auckland.ac.nz
Mon Jul 7 04:16:21 CEST 2014


A common way to graph pings is as a floating bar, from min to max RTT, and greyout if the device is down.  This can be done using MRTG/RRD/Routers2 with the mrtg-ping-probe plugin.

However you might like to investigate using smokeping as this does it all for you, if you're only interested in pings.

If you're only interested in up/down, maybe you should use a different tool, like Nagios, since while you can hold 1/0 data in RRDTool, its strengths lie in handling time-based scalar data rather than binary.

However, if you insist in using RRDTool, store 'up' as a 1 and 'down' as a 0.  Then you can summarise over time periods using the normal RRDTool graph VDEFs to get percentage uptime, or total uptime in seconds.

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.shipway at auckland.ac.nz
Ph: +64 9 373 7599 ext 86487




More information about the rrd-users mailing list