Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_uptime2

Rating
3 votes
Favoured:
0
Hits
101059
Files:
FileDescription
check_uptimecheck_uptime
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Yet another check_uptime shell script for Linux/Solaris/HP-UX/AIX One more bug fix, latest version is 1.04
Get uptime, optionally check against MIN and MAX uptime.
This comes especially handy if you want to watch for systems which rebooted but this was missed by other Nagios checks.
Typical usage would be (assuming you run it more often then once every 15 minutes):
command[check_uptime]=/usr/local/nagios/libexec/check_uptime -w 15
Reviews (2)
byuvdevnull, July 28, 2010
Great script!
I confirmed the bug reported earlier and was able to modify the script to fix it. See the updated version here: http://exchange.nagios.org/directory/Plugins/System-Metrics/Uptime/check_uptime3/details
byjsnyder, January 20, 2010
1 of 1 people found this review helpful
When no hours exist, the hours display the same output as minutes.

OK - uptime is 6 Days, 58 Hours, 58 Minutes