Code: Select all
***** Nagios *****
Notification Type: PROBLEM
Service: Battery Status
Host: germanvalley_bbu
Address: 10.0.4.2
State: There has been a change in power status
Date/Time: Mon May 21 09:34:34 CDT 2012
Additional Info:
SNMP CRITICAL - *3*Here is the command definition:
Code: Select all
# Custom SNMP - BBU Run Status
define command{
command_name check_bbu
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.2.1.33.1.4.1.0 -C public -P 2c -s 3 -w $ARG1$ -c $ARG2$
}Code: Select all
define service{
use generic-service
host_name German Valley BBU
service_description Battery Status
check_command check_bbu!5!2
contact_groups palspower
}