NRDP client not registering

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
reyntjensw
Posts: 6
Joined: Tue Nov 25, 2014 1:08 pm

NRDP client not registering

Post by reyntjensw »

Hi

I'm trying to deploy a client with NRDP, I've installed the agent on the client which is running Windows 2008 SBS
We see the message below reappearing every time the job runs.

We also have NRDP running on a Windows 2008R2 server, there everything is working fine.

Code: Select all

25/11/2014 19:31:00 ---Starting NRDS Transaction--- : 
25/11/2014 19:31:00 Diagnostic mode : False
25/11/2014 19:31:00 base NRDP address locked and loaded : http://xx.xx.xx.xx/nrdp//?token=j02jlh612340jf9p&cmd=
25/11/2014 19:31:00 XML being passed to check for updates : http://xx.xx.xx.xx/nrdp//?token=j02jlh612340jf9p&cmd=updatenrds&XMLDATA=<?xml version='1.0' ?><configs><config><name>AGS</name><version>0</version></config></configs>
25/11/2014 19:31:00 running Post routine.. : 
25/11/2014 19:31:00 ignoring certificate errors : 13056
25/11/2014 19:31:00 Post Data.... : 
25/11/2014 19:31:00 address..... : http://xx.xx.xx.xx/nrdp//?token=j02jlh612340jf9p&cmd=updatenrds&XMLDATA=<?xml version='1.0' ?><configs><config><name>AGS</name><version>0</version></config></configs>
Some extra info
What version of Nagios XI are you using? -> latest appliance
Linux Distribution and version?
32 or 64bit?
VMware Image or Manual Install of XI? -> VMware image
Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? -> We are not using SSL, nor a proxy
**If you are encountering multiple issues that may not be related, start a thread for each issue
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NRDP client not registering

Post by abrist »

Do you see any errors in the XI server's apache logs? Submit an nrdp check from the remote system, while tailing the apache error log:

Code: Select all

tail -f /var/log/httpd/error_log
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
reyntjensw
Posts: 6
Joined: Tue Nov 25, 2014 1:08 pm

Re: NRDP client not registering

Post by reyntjensw »

Hi Abrist

I've checked all the logs in the /var/log/httpd folder but I cannot find any connections listed in there.
If open a browser on the server and if I browse to the monitoring url, it is showing up in the logs.

The other checks done by nagios are not appearing in the logs as "access" to the apache webserver.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDP client not registering

Post by lmiltchev »

Is anything showing up in Unconfigured Objects? Is the "Enable Listener For Unconfigured Objects" checkbox selected under the "Performance Settings" (Admin->Performance Settings->Subsystem)?
Be sure to check out our Knowledgebase for helpful articles and solutions!
reyntjensw
Posts: 6
Joined: Tue Nov 25, 2014 1:08 pm

Re: NRDP client not registering

Post by reyntjensw »

Hi

The server is not showing up in the unconfiguered objects, but when we add a new server, it is showing up. The listener is enabled at this time.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: NRDP client not registering

Post by sreinhardt »

You just mean to say that it shows in the XI interface, not that it is now receiving check results correct? If so, please do the following and post the results:

tail -f /var/log/httpd/error_log | grep nrdp
*attempt to register or send nrdp results*

tail -f /var/log/httpd/access_log | grep nrdp
*attempt to register or send nrdp results*
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.
reyntjensw
Posts: 6
Joined: Tue Nov 25, 2014 1:08 pm

Re: NRDP client not registering

Post by reyntjensw »

Hi the error log is not showing anything.
The access log is only showing working NRDP clients.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NRDP client not registering

Post by tmcdonald »

Do you have any firewalls in place between the two? Are you able to, from the non-working NRDS machine, view the XI interface in a web browser?
Former Nagios employee
reyntjensw
Posts: 6
Joined: Tue Nov 25, 2014 1:08 pm

Re: NRDP client not registering

Post by reyntjensw »

Both servers are behind a firewall, when I surf from a non-working NRDS machine to the webinterface of the XI, I'm able to login.
If I past the url that is in the log, I'm getting data back.

The machine is just not registering.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NRDP client not registering

Post by tmcdonald »

reyntjensw wrote:The server is not showing up in the unconfiguered objects, but when we add a new server, it is showing up. The listener is enabled at this time.
Can you elaborate on this? How are you adding the server? Through the CCM manually?

Also, can you run a tcpdump on the Nagios server and then try to manually submit the NRDP results?

Code: Select all

tcpdump host <windows ip> -X -w /tmp/tcpdump.pcap
then send the NRDP result, cancel the tcpdump, and send the /tmp/tcpdump.pcap file.
Former Nagios employee
Locked