NRPE problems

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

NRPE problems

Postby cronk » Tue Jul 26, 2011 4:19 am

Hi, I'm new to Nagios.

I have a nagios server running and starting to explore the nrpe for the client servers that will be monitored.

I've installed the nrpe and plug-ins on the remote host and checked configuration and services if running properly. All is good on the remote host side. NRPE is also installed properly on the monitoring host.

When I try to do check_nrpe -H <ip_address_of_the_remote_host> from the nagios server, the /var/log/messages of the remote host says:

"Host <ip_address_of_the_nagios_server> is not allowed to talk to us"

IP tables are both off on both machines, no firewall between them too.

Openssl packages on both machines are of the same version.

What could be causing this?

Posts: 1
Joined: Mon Jul 25, 2011 5:26 am

Re: NRPE problems

Postby araiot » Fri Jul 29, 2011 12:57 pm

im also new in Nagios but i believe there is a "allow" file on the client server that you will need to allow the connection from the Nagios server.
you just need to enter the server IP
Posts: 5
Joined: Fri Jul 29, 2011 12:37 pm

Re: NRPE problems

Postby agriffin » Tue Aug 02, 2011 2:45 pm

Yup, check out /etc/hosts.allow on the client server. If you have not already, you'll need to add the following line to that file (replace host with the relevant IP address or hostname):
Code: Select all
NRPE: host

If that worked, you'll want to re-enable your firewall and open the port with a command like this:
Code: Select all
iptables -I INPUT -p tcp --dport 5666 -j ACCEPT
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Return to Community Support

Who is online

Users browsing this forum: No registered users and 19 guests