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
101520
Files:
FileDescription
check_uptimecheck_uptime
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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