Nagios Command

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Nagios Command

Post by raamardhani7 »

Hi miltchev,

It was typo..
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios Command

Post by lmiltchev »

Did you verify the token on 10.10.83.90? What is the output of the following command?

Code: Select all

grep asd7fjk3l34 /usr/local/nrdp/server/config.inc.php
Do you see any errors in the apache error log?

Code: Select all

tail -100 /var/log/httpd/error_log
BTW, I am not able to recreate the issue. On a "remote" box, I ran:

Code: Select all

php /usr/local/nrdp/clients/send_nrdp.php --url=http://<nagios ip>/nrdp --token=mytoken --host=testhost --service=testservice --state=0 --output="The service looks okay"
The test host & service showed up in Unconfigured objects in Nagios XI right away:
example01.PNG
Can you zip up the "/usr/local/nrdp/clients/send_nrdp.php" file, and upload it on the forum? I would like to compare it to the one I am currently using.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked