Page 1 of 1

NRDP client not registering

Posted: Tue Nov 25, 2014 1:47 pm
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

Re: NRDP client not registering

Posted: Tue Nov 25, 2014 6:00 pm
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

Re: NRDP client not registering

Posted: Thu Nov 27, 2014 1:36 pm
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.

Re: NRDP client not registering

Posted: Mon Dec 01, 2014 4:17 pm
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)?

Re: NRDP client not registering

Posted: Tue Dec 02, 2014 4:39 pm
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.

Re: NRDP client not registering

Posted: Wed Dec 03, 2014 4:16 pm
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*

Re: NRDP client not registering

Posted: Thu Dec 04, 2014 11:58 am
by reyntjensw
Hi the error log is not showing anything.
The access log is only showing working NRDP clients.

Re: NRDP client not registering

Posted: Thu Dec 04, 2014 5:56 pm
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?

Re: NRDP client not registering

Posted: Mon Dec 08, 2014 12:05 pm
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.

Re: NRDP client not registering

Posted: Mon Dec 08, 2014 5:43 pm
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.