nrdp monitoring not showing up

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ks6764
Posts: 58
Joined: Thu Aug 20, 2015 10:42 am

nrdp monitoring not showing up

Post 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 :)
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nrdp monitoring not showing up

Post 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"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
ks6764
Posts: 58
Joined: Thu Aug 20, 2015 10:42 am

Re: nrdp monitoring not showing up

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nrdp monitoring not showing up

Post 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?

Code: Select all

tail -50 /var/log/cron
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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
ks6764
Posts: 58
Joined: Thu Aug 20, 2015 10:42 am

Re: nrdp monitoring not showing up

Post by ks6764 »

:o 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.
bolson

Re: nrdp monitoring not showing up

Post by bolson »

May we close this topic?
ks6764
Posts: 58
Joined: Thu Aug 20, 2015 10:42 am

Re: nrdp monitoring not showing up

Post by ks6764 »

Yes, please.
bolson

Re: nrdp monitoring not showing up

Post by bolson »

Closing topic as resolved.

Thank you for using the Nagios Support Forum.
Locked