I am looking for a way to display System Uptime as a Gprint at the bottom of one of my custom graphs.
The snmpget looks as follows.
snmpget -v1 -c public <Host Removed> .1.3.6.1.2.1.1.3.0
Which returns as follows.
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1689366) 4:41:33.66
I have added the data template, and it is showing in my graph as a Gprint at the bottom, but it is simply showing the Timeticks: (1689366), like so.
Uptime: 1689366
What I need it to show is either the whole thing or just the calculated days, hours minutes. Something like this...
Uptime: 4:41:33.66
I suspect this may have some to do with the Gprint Preset I am using but I have been unable to find anything on the forums, docs or generally on the Internet.
If anyone can help it would be much appreciated.
Cheers
Display Uptime As Gprint
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Find two ready-to-use templates at http://forums.cacti.net/viewtopic.php?t=5951
Reinhard
Reinhard
Who is online
Users browsing this forum: No registered users and 2 guests