define command {
command_name check_snmpv1
command_line /usr/lib/nagios/plugins/check_snmp -C public \
-H $HOSTADDRESS$ -o $ARG1$ -w $ARG2$ \
-c $ARG3$ -l $ARG5$ -u $ARG4$
}
define host {
use generic-network
host_name bc-mgmt1
alias bc-mgmt1.home.barfoo.org
address 10.0.0.35
parents uni-greif-05
}
define service {
use generic-service
host_name bc-mgmt1
service_description Temperature
check_command check_snmpv1!.1.3.6.1.4.1.2.3.51.2.2.1.5.1.0!\
33!38!C!Input temperature
action_url /pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
notes View PNP RRD grap
}
define service {
use generic-service
host_name bc-mgmt1
service_description Chassis Cooling - Bay 1
check_command check_snmpv1!.1.3.6.1.4.1.2.3.51.2.2.3.20.0!\
1600:1200,2100:2600!1200:0,2600:3000!RPM!\
Chassis Cooling - Bay 1
action_url /pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
notes View PNP RRD grap
}
define service {
use generic-service
host_name bc-mgmt1
service_description Chassis Cooling - Bay 2
check_command check_snmpv1!.1.3.6.1.4.1.2.3.51.2.2.3.21.0!\
1600:1200,2100:2600!1200:0,2600:3000!RPM!\
Chassis Cooling - Bay 2
action_url /pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
notes View PNP RRD grap
}
define service {
use generic-service
host_name bc-mgmt1
service_description Power Module Cooling - Bay 1
check_command check_snmpv1!.1.3.6.1.4.1.2.3.51.2.2.6.1.1.6.1!\
6200:5400,6700:7000!5300:0,7000:7500!RPM!\
Power Module Cooling - Bay 1
action_url /pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
notes View PNP RRD grap
}
define service {
use generic-service
host_name bc-mgmt1
service_description Power Module Cooling - Bay 1 Fans
check_command check_snmpv1!.1.3.6.1.4.1.2.3.51.2.2.6.1.1.4.1!\
2:1!1:0!Fans present!\
Power Module Cooling - Bay 1
action_url /pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
notes View PNP RRD grap
}
define service {
use generic-service
host_name bc-mgmt1
service_description Power Module Cooling - Bay 2
check_command check_snmpv1!.1.3.6.1.4.1.2.3.51.2.2.6.1.1.6.2!\
6200:5400,6700:7000!5300:0,7000:7500!RPM!\
Power Module Cooling - Bay 2
action_url /pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
notes View PNP RRD grap
}
define service {
use generic-service
host_name bc-mgmt1
service_description Power Module Cooling - Bay 2 Fans
check_command check_snmpv1!.1.3.6.1.4.1.2.3.51.2.2.6.1.1.4.2!\
2:1!1:0!Fans present!\
Power Module Cooling - Bay 2
action_url /pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
notes View PNP RRD grap
}
define service {
use generic-service
host_name bc-mgmt1
service_description Power Module Cooling - Bay 3
check_command check_snmpv1!.1.3.6.1.4.1.2.3.51.2.2.6.1.1.6.3!\
6200:5400,6700:7000!5300:0,7000:7500!RPM!\
Power Module Cooling - Bay 3
action_url /pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
notes View PNP RRD grap
}
define service {
use generic-service
host_name bc-mgmt1
service_description Power Module Cooling - Bay 3 Fans
check_command check_snmpv1!.1.3.6.1.4.1.2.3.51.2.2.6.1.1.4.3!\
2:1!1:0!Fans present!\
Power Module Cooling - Bay 3
action_url /pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
notes View PNP RRD grap
}
define service {
use generic-service
host_name bc-mgmt1
service_description Power Module Cooling - Bay 4
check_command check_snmpv1!.1.3.6.1.4.1.2.3.51.2.2.6.1.1.6.2!\
6200:5400,6700:7000!5300:0,7000:7500!RPM!\
Power Module Cooling - Bay 4
action_url /pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
notes View PNP RRD grap
}
define service {
use generic-service
host_name bc-mgmt1
service_description Power Module Cooling - Bay 4 Fans
check_command check_snmpv1!.1.3.6.1.4.1.2.3.51.2.2.6.1.1.4.2!\
2:1!1:0!Fans present!\
Power Module Cooling - Bay 4
action_url /pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
notes View PNP RRD grap
}
define service {
use generic-service
host_name bc-mgmt1
service_description Power Domain 1: Utilization
check_command check_snmpv1!.1.3.6.1.4.1.2.3.51.2.2.10.1.1.1.10.1!\
2600:2400!2880:2600!W!\
Power Domain 1: Utilization
action_url /pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
notes View PNP RRD grap
}
define service {
use generic-service
host_name bc-mgmt1
service_description Power Domain 2: Utilization
check_command check_snmpv1!.1.3.6.1.4.1.2.3.51.2.2.10.1.1.1.10.2!\
2600:2400!2880:2600!W!\
Power Domain 2: Utilization
action_url /pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
notes View PNP RRD grap
}