send_nrdp cronjob not working
Posted: Fri Dec 09, 2016 3:50 pm
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
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