Page 7 of 9

Re: Help with NRDS?

Posted: Tue Apr 23, 2013 12:02 pm
by scottwilkerson
Let us know if they show up

Re: Help with NRDS?

Posted: Tue Apr 23, 2013 1:38 pm
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.

Re: Help with NRDS?

Posted: Tue Apr 23, 2013 2:09 pm
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

Re: Help with NRDS?

Posted: Tue Apr 23, 2013 2:34 pm
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'?

Re: Help with NRDS?

Posted: Tue Apr 23, 2013 3:29 pm
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.

Re: Help with NRDS?

Posted: Wed May 01, 2013 11:28 am
by jbennett
Nothing. I've waited a while too... :lol:

Re: Help with NRDS?

Posted: Wed May 01, 2013 3:37 pm
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.

Re: Help with NRDS?

Posted: Tue May 14, 2013 2:34 pm
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?

Re: Help with NRDS?

Posted: Tue May 14, 2013 2:36 pm
by sreinhardt
Yes this would likely be the case!

Re: Help with NRDS?

Posted: Wed May 15, 2013 11:39 am
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.