SVN: nagios-config/trunk/commands/check_snmp.cfg

glen glen at pld-linux.org
Tue Sep 15 13:58:15 CEST 2009


Author: glen
Date: Tue Sep 15 13:58:14 2009
New Revision: 10606

Modified:
   nagios-config/trunk/commands/check_snmp.cfg
Log:
- load SNMPv2-MIB so objects display hint is visible and utf8 can be returned in sysLocation,sysContact

Modified: nagios-config/trunk/commands/check_snmp.cfg
==============================================================================
--- nagios-config/trunk/commands/check_snmp.cfg	(original)
+++ nagios-config/trunk/commands/check_snmp.cfg	Tue Sep 15 13:58:14 2009
@@ -1,10 +1,12 @@
 # check for SNMPd
+# prints out system name, location and contact
 define command {
 	command_name    check_snmpd
-	command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -o system.sysName.0,system.sysContact.0 -P 2c $ARG1$
+	command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -P 2c -m SNMPv2-MIB -o system.sysName.0,system.sysLocation.0,system.sysContact.0 $ARG1$
 }
 
-# Check any SNMP OID. useful args:
+# Check any SNMP OID.
+# Useful args:
 # -C community
 # -o OID
 # -c Critical Level


More information about the pld-cvs-commit mailing list