Tripp Lite B097048INT Owners Manual for B093- B097- and B098-Series Console Se - Page 192
Basic Nagios Plug-Ins
View all Tripp Lite B097048INT manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 192 highlights
10. Nagios Integration define servicedependency{ name tripp-lite_nrpe_daemon_dep host_name tripp-lite 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_tripp-lite 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_tripp-lite!tcp!22 } define service { service_description host-port-tcp-22-server ; host-port--- host_name server use generic-service check_command check_conn_via_tripp-lite!tcp!22 active_checks_enabled 0 passive_checks_enabled 1 } define servicedependency{ name tripp-lite_nrpe_daemon_dep host_name tripp-lite dependent_host_name server dependent_service_description SSH Port service_description NRPE Daemon execution_failure_criteria w,u,c } 10.3.2 Basic Nagios Plug-Ins Plug-ins are compiled executables or scripts that can be scheduled to be 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, which uses the results to monitor the current status of the distributed network. Each console server is preconfigured with 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 Tripp Lite: 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. 192