Help with NRDS?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Help with NRDS?

Post by scottwilkerson »

Let us know if they show up
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Help with NRDS?

Post by jbennett »

*sigh*

Still nothing. I've even gone so far as to reboot the system in the off chance it would help (not sure why though).

I ran the same check on the remote system and received the same response:

Code: Select all

# /usr/local/nrdp/clients/nrds/nrds.pl -H testlane2
ERROR: STDIN must be either 3 or 4 fields long, I found 2
Sent 5 checks to http://xxx.xxx.xxx.xxx/nrdp/
Going to unconfigured objects on that nagios server, I don't see anything listed.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Help with NRDS?

Post by scottwilkerson »

Can you go to http://xxx.xxx.xxx.xxx/nrdp/ in a web browser and sobmit the test command (entering your token) to see if it show up in unconfigured objects
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Help with NRDS?

Post by jbennett »

scottwilkerson wrote:Can you go to http://xxx.xxx.xxx.xxx/nrdp/ in a web browser and sobmit the test command (entering your token) to see if it show up in unconfigured objects
When I do this, I get the following results:

Code: Select all

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<result>
<status>0</status>
<message>OK</message>
</result>

Code: Select all

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<result>
<status>0</status>
<message>OK</message>
<meta>
<output>2 checks processed.</output>
</meta>
</result>
I have nothing showing up under unconfigured objects after this. I'm assuming it should be relatively instant? What should it show as? 'somehost'?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Help with NRDS?

Post by lmiltchev »

Try restarting xinetd on the Nagios XI server:

Code: Select all

service xinetd restart
wait for a while, then check the unconfigured objects again.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Help with NRDS?

Post by jbennett »

Nothing. I've waited a while too... :lol:
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Help with NRDS?

Post by scottwilkerson »

We will likely have to schedule a remote session to try to debug what is actually happening to cause the unconfigured objects to not show up.

Can you create a support ticket by emailing [email protected] referencing this thread and we will setup a time to take a look.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Help with NRDS?

Post by jbennett »

I've started messing with this on a new box and I found something interesting.

I have successfully gotten the controller to show up in unconfigured objects by using the IP of the Nagios box instead of the name.

I suppose this would indicate a lookup issue from the client to the host, correct?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Help with NRDS?

Post by sreinhardt »

Yes this would likely be the case!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Help with NRDS?

Post by jbennett »

I'm noticing that my remote clients are not getting the updated version of the configs that they should be.

There should be a cron that runs on the remote client that would do this, correct? Where would that cron be configured normally? cron.d?

Also, where is the new config file pushed to on the client? is nrds.cfg just overwritten each time? I'm not seeing that if it is the case.
Locked