I've followed the guides for setting up NRDP, but I'm a little confused.
http://server.ip/nrdp works, and allows me to submit commands and data.
Calling send_nrdp.sh (from here) or send_nrdp.php from the command line doesn't do anything but provide an output from PHP illustrating commands that can be run.
One of the reasons for this could be that I'm unsure of exactly how I should be calling the script - either at the CLI or from Nagios itself. I'd love for this to be clarified.
Additionally to being unable to get the script to shoot check data to a remote server, I'm unable to see where the data is meant to go. Should I create host configurations that just don't have any checks, assuming they'll be populated by NRDP? If I make something up with well-formed XML and submit it at http://server.ip/nrdp/, I'll get confirmation but nothing appears on the server. This, I assume, is because I need to define hosts and services?
I'd be happy to also be pointed toward a proper how-to guide for this. It seems somewhat lacking? (I've read the PDF.)
Thanks.
NRDP Setup
Re: NRDP Setup
That is correct. In Nagios XI, when the checks are received from the client, you can see them in the Unconfigured Objects and can easily configure them.I'll get confirmation but nothing appears on the server. This, I assume, is because I need to define hosts and services?
In Nagios Core, you will need to set up the host, and services manually, enable passive checks, etc.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 22
- Joined: Mon Mar 24, 2014 3:53 pm
Re: NRDP Setup
OK, thanks. Any ideas on sending the data over to the main server?lmiltchev wrote:That is correct. In Nagios XI, when the checks are received from the client, you can see them in the Unconfigured Objects and can easily configure them.I'll get confirmation but nothing appears on the server. This, I assume, is because I need to define hosts and services?
In Nagios Core, you will need to set up the host, and services manually, enable passive checks, etc.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRDP Setup
You can use a setup like this to send the results to the main server
http://support.nagios.com/forum/viewtop ... 144#p29144
However, you will have to setup the host and service objects on the main server for them to display, otherwise it will just log that it received a result for a missing object
http://support.nagios.com/forum/viewtop ... 144#p29144
However, you will have to setup the host and service objects on the main server for them to display, otherwise it will just log that it received a result for a missing object