I've just installed the NRDP agent on an Ubuntu Server running Nagios Core v4.3.2. I've set the Token in the config file and verified that it works when navigating to http://myserver/nrdp and clicking Submit Command. The server responds with a nice message and even performs the default DISABLE_HOST_NOTIFICATIONS task when I provide a valid host name. The issue is when I try to test the Submit Check Data. If I don't provide a token, I get a nice message letting me know that no token was provided. However, if I provide the token that I've configured in the server to accept, I receive an HTTP 500 error. I've enabled debug logging in apache but don't see any messages that would point me to an issue. All the permissions to the various folders look correct.
Any ideas what could be causing the problem?
Thanks
root@nagios:/# ls -lah /usr/local/nagios/var/spool/
drwxrwsr-- 2 nagios nagcmd 4.0K Sep 28 02:16 checkresults
root@nagios:/# ls -lah /usr/local/nagios/var/rw/
prw-rw---- 1 nagios nagcmd 0 Sep 28 02:16 nagios.cmd
srw-rw---- 1 nagios nagcmd 0 Sep 28 02:16 nagios.qh
Group Information:
nagcmd
NRDP version:
1.4.0