NRDP - NO REQUEST HANDLER
Posted: Thu Jul 31, 2014 12:46 pm
I've been trying to setup NRDP to perform passive checks but when trying to perform the Client install instructions on the remote host I get the following error:
[root@nsc-prd-nagiosim-008 ~]# wget -O linuxgroup.tar.gz "http://***.***.***.***/nrdp/?cmd=nrdsgetclient&token=*****************&configname=linuxgroup"
--2014-07-31 13:43:10-- http://***.***.***.***/nrdp/?cmd=nrdsgetclient&token=*********************&configname=linuxgroup
Connecting to ***.***.***.***:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18 [text/html]
Saving to: “linuxgroup.tar.gzâ€
100%[===============================================================================================================>] 18 --.-K/s in 0s
2014-07-31 13:43:10 (3.18 MB/s) - “linuxgroup.tar.gz†saved [18/18]
The file doesn't appear to be downloading to the remote host.
Looking at the /var/log/httpd/error_log I see the following:
PHP Notice: Undefined index: HOSTNAME in /usr/local/nagiosxi/html/includes/components/nrdsconfigmanager/nrdsconfigmanager.php on line 559, referer: http://****************************/nagiosxi/includes/components/nrdsconfigmanager/nrdsconfigmanager.php
Any ideas as to how and resolve this?
[root@nsc-prd-nagiosim-008 ~]# wget -O linuxgroup.tar.gz "http://***.***.***.***/nrdp/?cmd=nrdsgetclient&token=*****************&configname=linuxgroup"
--2014-07-31 13:43:10-- http://***.***.***.***/nrdp/?cmd=nrdsgetclient&token=*********************&configname=linuxgroup
Connecting to ***.***.***.***:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18 [text/html]
Saving to: “linuxgroup.tar.gzâ€
100%[===============================================================================================================>] 18 --.-K/s in 0s
2014-07-31 13:43:10 (3.18 MB/s) - “linuxgroup.tar.gz†saved [18/18]
The file doesn't appear to be downloading to the remote host.
Looking at the /var/log/httpd/error_log I see the following:
PHP Notice: Undefined index: HOSTNAME in /usr/local/nagiosxi/html/includes/components/nrdsconfigmanager/nrdsconfigmanager.php on line 559, referer: http://****************************/nagiosxi/includes/components/nrdsconfigmanager/nrdsconfigmanager.php
Any ideas as to how and resolve this?