1101 and 1102 Secure Device Servers

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

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_nameserver

102

724-746-5500 blackbox.com

Page 102
Image 102
Black Box Secure Device Servers Checkportlog, Define service Servicedescription port-log-server, CheckpingviaBlack Box