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_uptime.sh

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 3.x
License
Other
Hits
7142
Files:
FileDescription
check_uptime.shcheck_uptime.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Script to check the uptime of a Linux system.
--------------------------------------------------------------------------------

THIS PLUGIN IS PROVIDED "AS IS", WITHOUT ANY WARRANTY, AND WITHOUT ANY SUPPORT.

--------------------------------------------------------------------------------

This plugin check if the uptime is less than warning and critical.
Without argument, return only number of day.


Test with : CentOS 5, Nagios 3.5

--------------------------------------------------------------------------------

USAGE :
./check_uptime.sh [Warning] [Critical]

warning : number of days before warning
critical : number of days before critical

example :
./check_uptime.sh 365 730

--------------------------------------------------------------------------------

LICENCE : CC BY-SA 3.0
http://creativecommons.org/licenses/by-sa/3.0/

--------------------------------------------------------------------------------