201
use
generic-service
check_command
check_ping_via_opengear
}
define service {
service_description
host-ping-server
host_name
server
use
generic-service
check_command
check_ping_via_opengear
active_checks_enabled
0
passive_checks_enabled 1
}
define servicedependency{
name
opengear_nrpe_daemon_dep
host_name
opengear
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_opengear
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_opengear!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_opengear!tcp!22
active_checks_enabled
0
passive_checks_enabled 1
}
define servicedependency{
name
opengear_nrpe_daemon_dep
host_name
opengear
dependent_host_name
server
dependent_service_description SSH Port
service_description
NRPE Daemon
execution_failure_criteria
w,u,c
}