Skip to content

odcheck/check_snmp_uptime

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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 orginal created by Yoann LAMY and forked by Ben Odenthal

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.

About

Check the uptime of a host using SNMP queries

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%