Anyone know how to graph uptime for both a RH 7.2 server and NT/2000 machine?
Any help would be appreciated.
Uptime
Moderators: Developers, Moderators
Write a script that parses the return from either of these OIDs. Then create a custom Data source that uses that script.
system.sysUpTime.0
host.hrSystem.hrSystemUptime.0
Theses should work for Win/Linux/Novell/Cisco, etc...
You would then need to parse the results. These are the values pulled from one of my servers:
Timeticks: (1728346) 4:48:03.4
Timeticks: (17352687) 2 days, 0:12:06.87
system.sysUpTime.0
host.hrSystem.hrSystemUptime.0
Theses should work for Win/Linux/Novell/Cisco, etc...
You would then need to parse the results. These are the values pulled from one of my servers:
Timeticks: (1728346) 4:48:03.4
Timeticks: (17352687) 2 days, 0:12:06.87
Burke - MCP+I, MCSE, MCSD, CNE, CCA, CCNA, LPIC-1
[url=http://www.technicalvalues.com]My Website[/url] ::[url=http://www.technicalvalues.net]Domain Registrations, SSL Certs, and Hosting[/url]
[url=http://www.technicalvalues.com]My Website[/url] ::[url=http://www.technicalvalues.net]Domain Registrations, SSL Certs, and Hosting[/url]
-
- Posts: 23
- Joined: Wed Apr 13, 2005 4:20 pm
rob wrote:it would be best to get the uptime in minutes or even seconds. i know that win xp/nt have this feature (no idea how to use it thou) and linux.. hmm, you could do a script to convert the 'uptime' command's output to minutes, this would be quite simple i suppose. there must be a easier way thou.
Can you tell me how write the scrip to system uptime for cisco routers?
I have use the cacti-0.8.6d
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
A solution can be found at http://forums.cacti.net/viewtopic.php?t=5951
Reinhard
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest