Feb 28 14:34:05 tribbleNet1-3 nrpe[23499]: warning: /etc/hosts.allow, line 13: missing newline or line too long
Feb 28 14:34:05 tribbleNet1-3 nrpe[23499]: warning: /etc/hosts.allow, line 13: all the subsequent rules will be ignored
Are you still getting them in syslog?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
The only other thing I could think is that I had a previous installation of Nagios Core installed on these two remote boxes that might be interfering with XI? Well I didn't have Nagios Core installed I had the NRPE daemon installed on them.
abrist wrote:Are you still receiving the new line error? If so, how are you editing the file? On the linux box directly, or are you editing in widows by way of filezilla etc?
I wasn't aware I was getting a newline error. I edited the hosts.allow file with Vi. And yes on the linux box directly. So there is no newline in that command.
There needs to be a newline after the IP
If the last line of a hosts access file is not a newline character (created by pressing the Enter key) you will see the errors you are experiencing.
Alright, so it is an SSL Handshake error now. Did you compile nrpe with SSL enabled?
If not, or just for troubleshooting's sake, append your check command with "-n" (no SSL).
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
abrist wrote:Alright, so it is an SSL Handshake error now. Did you compile nrpe with SSL enabled?
If not, or just for troubleshooting's sake, append your check command with "-n" (no SSL).
I didn't compile this. As I said I did three things...start up the CentOS VM, install the Ubuntu agent (using gdebi) on the remote hosts, and use the Linux server wizard. There was nothing for me to compile.
Additionally on my Nagios XI in the browser, it states that there is a "Error receiving data from daemon". The ssl handshake issue seems to have gone away.