Page 3 of 4
Re: NRDS unable to connnect to NRDP server after upgrade
Posted: Wed Feb 10, 2016 5:31 pm
by skynardo
This did not work.
[nagios@dsa528 ~]$ /usr/local/nrdp/clients/nrds/nrds.pl -H 'dsa528'
ERROR: could not connect to NRDP server at
https://nagiosxi/nrdp/
If I change my nrds.cfg to http, I now get:
[nagios@dsa528 ~]$ /usr/local/nrdp/clients/nrds/nrds.pl -H 'dsa528'
ERROR: The NRDP Server said HTTPS REQUIRED
ERROR: NRDP Server said - HTTPS REQUIRED at /usr/local/nrdp/clients/nrds/nrds_updater.pl line 163, <CONFIG> line 20.
Re: NRDS unable to connnect to NRDP server after upgrade
Posted: Thu Feb 11, 2016 11:25 am
by rkennedy
From the client, can you run a nmap against the Nagios XI server and post the result?
Re: NRDS unable to connnect to NRDP server after upgrade
Posted: Thu Feb 11, 2016 11:39 am
by skynardo
# nmap nagiosxi
Starting Nmap 5.51 (
http://nmap.org ) at 2016-02-11 10:37 CST
Nmap scan report for nagiosxi (10.204.240.199)
Host is up (0.00041s latency).
rDNS record for 10.204.240.199: nagiosxi.unigroupinc.com
Not shown: 997 filtered ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp open https
MAC Address: 00:50:56:B7:1F:CB (VMware)
Nmap done: 1 IP address (1 host up) scanned in 5.22 seconds
Re: NRDS unable to connnect to NRDP server after upgrade
Posted: Thu Feb 11, 2016 5:49 pm
by tgriep
Can you post the files from this folder so we can review them?
Re: NRDS unable to connnect to NRDP server after upgrade
Posted: Fri Feb 12, 2016 9:07 am
by skynardo
[root@dsa528 nrds]# pwd
/usr/local/nrdp/clients/nrds
[root@dsa528 nrds]# ls -al
total 28
drwxrwxr-x 2 nagios nagios 4096 Feb 10 16:28 .
drwxrwxr-x 3 nagios nagios 4096 Jan 29 08:36 ..
-rwxrwxr-x 1 nagios nagios 751 Feb 10 16:28 nrds.cfg
-rwxrwxr-x 1 nagios nagios 1628 Jan 29 08:36 nrds_common.pl
-rwxrwxr-- 1 nagios nagios 2834 Jan 29 08:36 nrds.pl
-rwxrwxr-- 1 nagios nagios 6330 Jan 29 08:36 nrds_updater.pl
Re: NRDS unable to connnect to NRDP server after upgrade
Posted: Fri Feb 12, 2016 11:01 am
by rkennedy
Can you zip up those 4 files and attach them to this post?
Re: NRDS unable to connnect to NRDP server after upgrade
Posted: Fri Feb 12, 2016 11:13 am
by skynardo
Here they are.
Re: NRDS unable to connnect to NRDP server after upgrade
Posted: Fri Feb 12, 2016 11:50 am
by tgriep
Can you edit the send_nrdp.sh file and change the following 2 lines from
Code: Select all
rslt=`curl -f --silent -d "$pdata" "$url/"`
rslt=`wget -q -O - --post-data="$pdata" "$url/"`
to
Code: Select all
rslt=`curl -k -f --silent --insecure -d "$pdata" "$url/"`
rslt=`wget --no-check-certificate -q -O - --post-data="$pdata" "$url/"`
Save the file out and see if this fixes it for you.
Can you verify the version if XI you are running?
Re: NRDS unable to connnect to NRDP server after upgrade
Posted: Fri Feb 12, 2016 12:20 pm
by skynardo
Yes, this works around the problem, but I already have been using a work around by changing my nrds.cfg URL from https to http on any new clients that I install. This works fine unless an updated cfg gets pushed out and breaks it again. I am trying to find out what changed to cause this to break for new nrds clients. I am running Nagios XI 5.2.0
Re: NRDS unable to connnect to NRDP server after upgrade
Posted: Fri Feb 12, 2016 3:03 pm
by tgriep
If I remember correctly, that version (5.2.0) , the send_nrdp.sh file was released and it was missing those settings by mistake.
In the newer version of XI, they were added back.