SVN: nagios-config/trunk/commands/check_snmp.cfg
glen
glen at pld-linux.org
Mon Jan 4 21:46:07 CET 2010
Author: glen
Date: Mon Jan 4 21:46:06 2010
New Revision: 11092
Modified:
nagios-config/trunk/commands/check_snmp.cfg
Log:
- include system uptime in check_snmpd output
Modified: nagios-config/trunk/commands/check_snmp.cfg
==============================================================================
--- nagios-config/trunk/commands/check_snmp.cfg (original)
+++ nagios-config/trunk/commands/check_snmp.cfg Mon Jan 4 21:46:06 2010
@@ -1,8 +1,8 @@
# check for SNMPd
-# prints out system name, location and contact
+# prints out system name, location, contact and system uptime
define command {
command_name check_snmpd
- command_line $USER1$/check_snmp -H $HOSTADDRESS$ -P 2c -m SNMPv2-MIB -o system.sysName.0,system.sysLocation.0,system.sysContact.0 $ARG1$
+ command_line $USER1$/check_snmp -H $HOSTADDRESS$ -P 2c -m SNMPv2-MIB -m HOST-RESOURCES-MIB -o system.sysName.0,system.sysLocation.0,system.sysContact.0,hrSystemUptime.0 $ARG1$
}
# Check any SNMP OID.
More information about the pld-cvs-commit
mailing list