send_nrdp cronjob not working

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
izghitu
Posts: 13
Joined: Wed Nov 02, 2016 3:01 pm

send_nrdp cronjob not working

Post 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
izghitu
Posts: 13
Joined: Wed Nov 02, 2016 3:01 pm

Re: send_nrdp cronjob not working

Post by izghitu »

If anyone wonders, I found the fix here:
https://support.nagios.com/forum/viewto ... 7&start=10
Locked