Tripp Lite B092-016 Owner's Manual Page 144

  • Download
  • Add to my manuals
  • Print
  • Page
    / 242
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 143
144
10.4
Advanced Distributed Monitoring Configuration
10.4.1
Sample Nagios C
onfiguration
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 netw
ork and serial connections
.
Each check
has two configurations, one
for NRPE and
one for
NSCA
.
In practice, these would be combine
d into a single check which uses NSCA
as a primary method and
fal
ling back to NRPE if a check were late. F
or details
,
see the N
agios
documentation
(
http://www.nagios.org/docs/
) on
Service and Host Freshness Checks
.
; Host definitions
;
;
Console Server
define host{
use generic
-
host
host_name
tripplite
alias
Console Server
address 192.168.254.147
}
; Managed Host
define host{
use generic
-
host
host_name server
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
NRPE
Daemon
host_name
tripplite
use
generic
-
service
check_command
check_nrpe_daemon
}
; 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 {
Page view 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 241 242

Comments to this Manuals

No comments