Skip to content
This repository has been archived by the owner on Jul 5, 2018. It is now read-only.

Latest commit

 

History

History
25 lines (24 loc) · 1.04 KB

README.md

File metadata and controls

25 lines (24 loc) · 1.04 KB

check_snmp_proc.sh

This is small Nagios plugin for checking status of processes (or quantity of them) via SNMP

Usage:
./check_snmp_proc -H 127.0.0.1 -C public -N ssh -w 3 -c 0

Where:
-H hostname /string/
Name or IP address of host (default 127.0.0.1)
-C OID /string/
Community name for the host SNMP agent (default public)
-N Process name /string/
Exact process name (default snmpd)
-w warning level /integer/
Warning level of running processes (default: 0)
-c critical level /integer/
Critical level of running processes (default: 0)
-h help
Print this help screen
-V version number
Print version and license information


This plugin uses the 'snmpwalk' command included with the NET-SNMP package.
This nagios plugins comes with ABSOLUTELY NO WARRANTY. So, enjoy ;)