Distributed Monitoring With NRDP
Distributed Monitoring With NRDP
Purpose
This document describes how to use Nagios Remote Data Processor (NDRP) as a distributed
monitoring solution. You will be shown how a central Nagios XI server can receive check
results from Nagios XI and Nagios Core servers.
Target Audience
This document is intended for use by Nagios Administrators that require a central Nagios XI server that will
receive check results from Nagios XI or Nagios Core servers.
Overview
Nagios XI comes bundled with NRDP, a flexible data transport mechanism that can be used to accept check
results from Nagios XI and Nagios Core servers. With this solution, the central Nagios XI server does not
perform any active monitoring, it is simply receiving passive check results from Nagios XI and Nagios Core
servers.
• Nagios XI Central Server
◦ Accepts incoming NRDP check results via http or https (https is
more secure)
◦ Configured via Inbound Transfers
• Nagios XI Distributed Servers
◦ Sends host and service check results to the central Nagios XI
server
◦ Configured via Outbound Transfers
• Nagios Core Distributed Servers
◦ Sends host and service check results to the central Nagios XI
server
◦ Configured using the Obsessive Compulsive Processor
Commands
1295 Bandana Blvd N, St. Paul, MN 55108 [email protected] US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 1 / 6
Updated – August, 2017
The Industry Standard In Infrastructure Monitoring
It is recommended that NRDP is configured to use SSL/TLS (https) for security and encryption. Please refer
to the following documentation for steps on how to implement this:
NRDP - Configuring SSL/TLS
It is worth mentioning that Host Name Filters can be applied so that check results for specific hosts and
services can be excluded.
Once configured please proceed to the Unconfigured Objects section in this document.
1295 Bandana Blvd N, St. Paul, MN 55108 [email protected] US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 2 / 6
Updated – August, 2017
The Industry Standard In Infrastructure Monitoring
cd /usr/local/nagios/libexec/
wget -O send_nrdp.php https://raw.githubusercontent.com/NagiosEnterprises/nrdp/master/clients/send_nrdp.php
chmod +x send_nrdp.php
chown nagios:nagios send_nrdp.php
1295 Bandana Blvd N, St. Paul, MN 55108 [email protected] US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 3 / 6
Updated – August, 2017
The Industry Standard In Infrastructure Monitoring
define command{
command_name send_nrdp_host
command_line $USER1$/send_nrdp.php --url=https://10.25.5.17/nrdp/ --token=XXXXX
--host="$HOSTNAME$" --state=$HOSTSTATEID$ --output="$HOSTOUTPUT$"
}
define command{
command_name send_nrdp_service
command_line $USER1$/send_nrdp.php --url=https://10.25.5.17/nrdp/ --token=XXXXX
--host="$HOSTNAME$" --service="$SERVICEDESC$" --state=$SERVICESTATEID$
--output="$SERVICEOUTPUT$"
}
obsess_over_hosts=1
obsess_over_services=1
ochp_command=send_nrdp_host
ocsp_command=send_nrdp_service
1295 Bandana Blvd N, St. Paul, MN 55108 [email protected] US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 4 / 6
Updated – August, 2017
The Industry Standard In Infrastructure Monitoring
You can now proceed to the Unconfigured Objects section in this document.
Unconfigured Objects
Once the central Nagios XI server receives the check results from the distributed Nagios servers they need to
be added to the Nagios XI configurations so they appear in the interface. Navigate to Admin > Monitoring
Config > Unconfigured Objects.
Using the icons on this page you will add these objects to your monitoring configuration using the
Unconfigured Passive Object wizard.
1295 Bandana Blvd N, St. Paul, MN 55108 [email protected] US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 5 / 6
Updated – August, 2017
The Industry Standard In Infrastructure Monitoring
Once the wizard has finished, the objects will remain in a Pending state until the next check result is received.
More detailed information about unconfigured objects and passive services can be found in the following
documentation:
Monitoring Unconfigured Objects With Nagios XI
Finishing Up
This completes the documentation on distributed monitoring with NRDP and Nagios XI.
If you have additional questions or other support related questions, please visit us at our Nagios Support
Forums:
https://support.nagios.com/forum
https://support.nagios.com/kb
1295 Bandana Blvd N, St. Paul, MN 55108 [email protected] US: 1-888-624-4671 INTL: 1-651-204-9102
www.nagios.com
© 2017 Nagios Enterprises, LLC. All rights reserved. Nagios, the Nagios logo, and Nagios graphics are the servicemarks, trademarks, or
registered trademarks owned by Nagios Enterprises. All other servicemarks and trademarks are the property of their respective owner. Page 6 / 6
Updated – August, 2017