228
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
CHAPTER 11: NAGIOS INTEGRATION
define command {
command_name check_port_log
command_line $USER1$/check_nrpe -H \
192.168.254.147 -p 5666 -c \
port_log_$HOSTNAME$
}
define service {
service_description Port Log
host_name server
use generic-service
check_command check_port_log
}
define service {
service_description port-log-server
host_name server
use generic-service
check_command check_port_log
active_checks_enabled 0
passive_checks_enabled 1
}
define servicedependency {
name Black Box_nrpe_daemon_dep
host_name Black Box
dependent_host_name server
dependent_service_description Port Log
service_description NRPE Daemon
execution_failure_criteria w,u,c
}
; Ping
define command {
command_name check_ping_via_Black Box
command_line $USER1$/check_nrpe -H \
192.168.254.147 -p 5666 -c \
host_ping_$HOSTNAME$
}
define service {
service_description Host Ping
host_name server
use generic-service