229
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
check_command check_ping_via_Black Box
}
define service {
service_description host-ping-server
host_name server
use generic-service
check_command check_ping_via_Black Box
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 Host Ping
service_description NRPE Daemon
execution_failure_criteria w,u,c
}
; SSH Port
define command {
command_name check_conn_via_Black Box
command_line $USER1$/check_nrpe -H \
192.168.254.147 -p 5666 -c \
host_$HOSTNAME$_$ARG1$_$ARG2$
}
define service {
service_description SSH Port
host_name server
use generic-service
check_command check_conn_via_Black Box!tcp!22
}
define service {
service_description host-port-tcp-22-server
; host-port-<protocol>-<port>-<host>
host_name server
use generic-service
check_command check_conn_via_Black Box!tcp!22
active_checks_enabled 0
passive_checks_enabled 1