_____________________________________________________________________
724-746-5500 | blackbox.com
Page 193
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
}
define servicedependency{
name
Black Box
_nrpe_daemon_dep
host_name
Black Box
dependent_host_name
server
dependent_service_description SSH Port
service_description
NRPE Daemon
execution_failure_criteria
w,u,c
}
10.4.2 Basic Nagios plug-‐ins
Plug-‐ins are compiled executables or scripts that can be scheduled to run on the
console server
to check the status of a
connected host or service. This status is then communicated to the upstream Nagios server that uses the results to
monitor the current status of the distributed network. Each
console server
is preconfigured with a selection of the
checks that are part of the Nagios plug-‐ins package:
check_tcp
and
check_udp
are used to check open ports on network hosts
check_ping
is used to check network host availability
check_nrpe
is used to execute arbitrary plug-‐ins in other devices
Each
console server
is preconfigured with two checks that are specific to Black Box:
check_serial_signals
is used to monitor the handshaking lines on the serial ports
check_port_log
is used to monitor the data logged for a serial port.
10.4.3 Additional plug-‐ins
Additional Nagios plug-‐ins (listed below) are available for Advanced Console Servers (LES1208A-‐R2, LES1216A-‐R2,
LES1232A, LES1248A-‐R2:
check_apt
check_by_ssh
check_clamd
check_dig
check_dns
check_dummy
check_fping
check_ftp
check_game
check_hpjd
check_http
check_imap