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

check_snmp_uptime

Rating
1 vote
Favoured:
0
Current Version
1.0
Last Release Date
2016-10-05
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Owner
License
GPL
Hits
3430
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check_snmp_uptime
This plugin can check the uptime of a host using SNMP v1 queries.
check_snmp_uptime is written in Bash and is distributed under the GPLv2 license. This plugin have been created by Yoann LAMY.

Usage: ./check_snmp_uptime -H xxx.xxx.xxx.xxx -C public -w 50 -c 100

-H ADDRESS
Name or IP address of host (default: 127.0.0.1)
-C STRING
Community name for the host's SNMP agent (default: public)
-w INTEGER
Warning level for the the number of days (default: 0)
-c INTEGER
Critical level for the the number of days (default: 0)
-h
Print this help screen
-V
Print version and license information

This plugin uses the 'snmpget' command included with the NET-SNMP package.
This plugin support performance data output.

Examples :

./check_snmp_uptime -H xxx.xxx.xxx.xxx -C public -w 50 -c 100

This nagios plugins comes with ABSOLUTELY NO WARRANTY.

You may redistribute copies of the plugins under the terms of the GNU General Public License v2.
Reviews (1)
bynishith, December 1, 2017
Working Properly.

[root@linuxbox3 libexec]# ./check_snmp_uptime -H linuxbox2.example.local -C public -w 30 -c 50
The uptime is 6 hours and 21 minutes | uptime=0;30;50;0