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_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
12024
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!
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