Page 1 of 1
nrdp monitoring not showing up
Posted: Wed Jul 26, 2017 11:09 am
by ks6764
I just setup 150 servers for nrdp based monitoring. All but 6 servers are working and monitoring checks are coming across so I believe my Nagios XI monitoring server is setup correctly.
I need some assistance in troubleshooting why the 6 servers I have (all redhat Linux) are not reporting their monitoring to the Nagios XI server. Each server can ping and traceroute back to the Nagios XI monitoring server with no problem and the nrds.cfg files are identical to what is being used on the other servers. Versions of wget, curl, perl, etc. appear to be the same between servers that are working and those that are not working.
I have checked this forum and google and have been unable to find anything that can help me figure out what is going on.
I would appreciate any help on this

Re: nrdp monitoring not showing up
Posted: Wed Jul 26, 2017 1:54 pm
by lmiltchev
Can you send a passive check from the remote machine (client) to the Nagios XI server? Can you run the following commands on the client and show the output?
Code: Select all
crontab -u nagios -l
bash -x /usr/local/nrdp/clients/send_nrdp.sh -u "http://<ip address of the nagios xi server>/nrdp/" -t <token> -H testhost -s testservice -S 0 -o test
Did "testhost" and "testservice" show up in Nagios XI under the "Unconfigured Objects"?
Re: nrdp monitoring not showing up
Posted: Wed Jul 26, 2017 2:28 pm
by ks6764
Here is the cron entry:
Code: Select all
*/5 * * * * /usr/local/nrdp/clients/nrds/nrds.pl -H 'myfullyqualifiedhost' >/dev/null 2>&1
I also ran the bash line and that forced check appeared under the Unconfigured Objects in the GUI.
Re: nrdp monitoring not showing up
Posted: Wed Jul 26, 2017 2:54 pm
by lmiltchev
Can you run the command from the crontab manually on the client to see if it gives you any errors?
Code: Select all
/usr/local/nrdp/clients/nrds/nrds.pl -H 'myfullyqualifiedhost'
Is cron running on the client? Have you tried restarting it?
Code: Select all
service crond restart
ps -ef | grep [c]rond
Do you see any errors in the cron log?
If the host/services don't show in XI under the "Unconfigured Options", the chances are they are already configured. Do you have a host named 'myfullyqualifiedhost' on the Nagios XI server (the name you pass to the nrds.pl script)?
If you already have the host/services configured, do the "Last Check" time change (under the "Service Status" page) after running the command manually on the client?
Re: nrdp monitoring not showing up
Posted: Wed Jul 26, 2017 3:10 pm
by ks6764

Boy do I feel stupid !!
The hosts were already configured apparently by someone else on the team and in a hostgroup. I do appreciate the assistance though and these troubleshooting tips.
Re: nrdp monitoring not showing up
Posted: Wed Jul 26, 2017 3:13 pm
by bolson
May we close this topic?
Re: nrdp monitoring not showing up
Posted: Wed Jul 26, 2017 3:31 pm
by ks6764
Yes, please.
Re: nrdp monitoring not showing up
Posted: Wed Jul 26, 2017 3:39 pm
by bolson
Closing topic as resolved.
Thank you for using the Nagios Support Forum.