Advanced Distributed Monitoring Configuration; Sample Nagios Configuration - Tripp Lite B092-016 Owner's Manual

Console server management switch console server with poweralert console server
Hide thumbs Also See for B092-016:
Table of Contents

Advertisement

Chapter 10: Nagios Integration

10.4 Advanced Distributed Monitoring Configuration

10.4.1 Sample Nagios configuration

An example configuration for Nagios is listed below. It shows how to set up a remote Console Server to monitor a single host,
with both network and serial connections. Each check has two configurations, one for NRPE and one for NSCA. In practice,
these would be combined into a single check which uses NSCA as a primary method and falling back to NRPE if a check were
late. For details, see the Nagios documentation (http://www.nagios.org/docs/) on Service and Host Freshness Checks.
; Host definitions
;
; Console Server
define host{
use
generic-host
host_name
alias
Console Server
address
192.168.254.147
}
; Managed Host
define host{
use
generic-host
host_name
alias
server
address
192.168.254.227
}
; NRPE daemon on gateway
define command {
command_name check_nrpe_daemon
command_line $USER1$/check_nrpe -H 192.168.254.147 -p 5666
}
define service {
service_description
host_name
use
check_command
}
; Serial Status
define command {
command_name check_serial_status
command_line $USER1$/check_nrpe -H 192.168.254.147 -p 5666 -c check_serial_$HOSTNAME$
}
define service {
service_description
host_name
use
check_command
}
tripplite
server
NRPE Daemon
tripplite
generic-service
check_nrpe_daemon
Serial Status
server
generic-service
check_serial_status
158

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents