Chapter 10: Nagios Integration

10.3.2 Enable NRPE Monitoring

 

 

 

 

 

 

 

 

LES1102A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Serial

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

check_

 

 

 

 

 

 

 

 

 

Nagios

 

NRPE

 

 

 

 

 

 

 

 

nrpe

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Network

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Nagios monitoring host

 

 

Remote Console server

 

 

Remote managed devices

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 10-5. NRPE monitoring structure.

Enabling NRPE allows you to execute plug-ins (such as check_tcp and check_ping) on the remote Console server to monitor serial or network attached remote servers. This will offload CPU load from the upstream Nagios monitoring machine. This is especially valuable if you are monitoring hundreds or thousands of hosts. To enable NRPE:

Select System: Nagios and check NRPE Enabled

Enter the details for the user connection to the upstream Nagios monitoring server and again refer to the sample Nagios configuration example below for details about how to configure specific NRPE checks.

By default, the console server will accept a connection between the upstream Nagios monitoring server and the NRPE server with SSL encryption, without SSL, or tunneled through SSH. The security for the connection is configured at the Nagios server.

10.3.3 Enable NSCA Monitoring

Tunneled SSH

LES1102A

send_ncsa Program/script

Nagios

NSCA

Nagios monitoring host

 

Remote Console server

 

Remote managed devices

 

 

 

 

 

Figure 10-6. NCSA monitoring structure.

NSCA is the mechanism that allows you to send passive check results from the remote console server to the Nagios daemon running on the monitoring server. To enable NSCA:

Select System: Nagios and check NSCA Enabled.

Select the Encryption to be used from the drop down menu, then enter a Secret password and specify a check Interval.

724-746-5500 blackbox.com

99

Page 99
Image 99
Black Box Secure Device Servers, 1101 manual Enable Nrpe Monitoring, Enable Nsca Monitoring, LES1102A Serial Check Nagios