Discovering host issues via NRPE
Posted: Wed Nov 26, 2014 6:37 am
Hello,
I'm taking a look a NagiosXI and have performed a fresh installation on an Amazon AMI. The NagiosXI server details are as follows;
RHEL 6 64-bit
Installed version is 2014R2.0 performed via the Source Installer
The installation of the server itself seemed to work fine. However, I've installed the NRPE agent on a separate RHEL 6 64-bit server in AWS and when I try to add it via auto-discovery or by manually adding a NRPE client issues occur. The symptoms are;
- Client addition never seems to complete, the "Waiting for configuration" stage never finishes
- CPU goes to 100% due to a php process. The process is running "/usr/bin/php -q nagiosql_login.php"
- Under /usr/local/nagios/var the cmdsubsys.log is growing at an alarming rate, tailing the log the following error messages are being appended time after time...
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagios/scripts/nagiosql_login.php on line 53
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/local/nagios/scripts/nagiosql_login.php on line 51
I've opened up ICMP and port 5666 between the hosts. Any ideas what is going wrong here?
I appreciate any help you can provide.
Nathan
I'm taking a look a NagiosXI and have performed a fresh installation on an Amazon AMI. The NagiosXI server details are as follows;
RHEL 6 64-bit
Installed version is 2014R2.0 performed via the Source Installer
The installation of the server itself seemed to work fine. However, I've installed the NRPE agent on a separate RHEL 6 64-bit server in AWS and when I try to add it via auto-discovery or by manually adding a NRPE client issues occur. The symptoms are;
- Client addition never seems to complete, the "Waiting for configuration" stage never finishes
- CPU goes to 100% due to a php process. The process is running "/usr/bin/php -q nagiosql_login.php"
- Under /usr/local/nagios/var the cmdsubsys.log is growing at an alarming rate, tailing the log the following error messages are being appended time after time...
PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/nagios/scripts/nagiosql_login.php on line 53
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /usr/local/nagios/scripts/nagiosql_login.php on line 51
I've opened up ICMP and port 5666 between the hosts. Any ideas what is going wrong here?
I appreciate any help you can provide.
Nathan