Page 1 of 1

send_nrdp cronjob not working

Posted: Fri Dec 09, 2016 3:50 pm
by izghitu
Hi,

I have Nagios Core 4 running properly with NRDP. I have passive services configured waiting for input from send_nrdp.sh.

The problem that I am facing is that when I submit the results using send_nrdp.sh from command line it works fine, I can see both POST in apache logs on the nrdp server and in nagios.log

Now when I set this up as cronjob to run each 5 minutes a strange thing happens. I can see apache POST in access log meaning that send_nrdp.sh does submit data but I can't see anything in nagios.log meaning that the nrdp server does not send anything to nagios.

Any ideas what could be wrong?
Please help
Thanks

Re: send_nrdp cronjob not working

Posted: Fri Dec 09, 2016 4:02 pm
by izghitu
If anyone wonders, I found the fix here:
https://support.nagios.com/forum/viewto ... 7&start=10