Jun
4
Graph uptime for Linux devices via SNMP with Cacti
Sam Burney | Thu, 06/04/2009 - 02:37
Cacti is a great tool for graphing your network load as well as a whole bunch of other data from SNMP enabled devices. One glaring ommision however is the ability to graph the uptime of your devices.
Cacti allows you to make custom data/graph templates that allow you to graph pretty much any data your heart desire, as long as you have a data source of some kind. I found a tutorial Andrew McMillan which described exactly what I was after - how to graph the uptime of a Linux device via SNMP, but as it's not exactly for the faint of heart I've decided to post my template definitions here so that if anyone else needs this they can get going in a matter of seconds.
Usage:
1. Download cacti_graph_template_ucdnet_-_uptime.xml
2. Logged into you Cacti console, click 'Import Templates'
3. Click browse, locate the graph template you just downloaded, then click save
4. Add a graph for 'ucd/net Uptime' to your devices as needed
Easy!