NRDP
Posted: Fri Oct 14, 2011 1:14 pm
I have installed the nagiosxi 1.7 on a centos 6 machine. Later on i added (official) ssl certificates and am currently running the ssl version of the website.
The problem i am facing is that when i try to reach nrdp from a customer it just errors out. With the manual browsing to the nrdp link it works fine btw.
The errors i recieve are the following:
I tried changing the port to 443 on the line 368 but even then i get no response or anything. Does anyone have a clue how i can resolve this?
The problem i am facing is that when i try to reach nrdp from a customer it just errors out. With the manual browsing to the nrdp link it works fine btw.
The errors i recieve are the following:
Code: Select all
root@nagios[pts/0]:/etc/nagios3 # /usr/bin/php /usr/local/nrdp/clients/send_nrdp.php --url=central.**/nrdp --token=** --host=$HOSTNAME$ --service='$SERVICEDESC$' --state=$SERVICESTATE$ --output='$SERVICEOUTPUT$ | $SERVICEPERFDATA$ [$SERVICECHECKCOMMAND$]'
PHP Notice: Undefined index: host in /usr/local/nrdp/clients/send_nrdp.php on line 368
PHP Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/local/nrdp/clients/send_nrdp.php on line 368
PHP Warning: fsockopen(): unable to connect to :443 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /usr/local/nrdp/clients/send_nrdp.php on line 368
root@nagios[pts/0]:/etc/nagios3 # /usr/bin/php /usr/local/nrdp/clients/send_nrdp.php --url=https://central.**/nrdp --token=** --host=$HOSTNAME$ --service='$SERVICEDESC$' --state=$SERVICESTATE$ --output='$SERVICEOUTPUT$ | $SERVICEPERFDATA$ [$SERVICECHECKCOMMAND$]'
PHP Warning: fsockopen(): unable to connect to central.**:80 (Connection timed out) in /usr/local/nrdp/clients/send_nrdp.php on line 368