NRPE issue
Posted: Fri Feb 11, 2011 10:44 am
Hi!
Thank you for managing this great portal.
I have a distributed monitoring infrastructure with a central nagios server (working with NDOUtils to write in a MySQL DB) receiving passive service and host checks from a remote nagios instance/server via nsca. It was quite tricky to learn nagios and configure it to work the way it does.
Now I'm trying to configure the system so that the central server actively uses nrpe_checks on the remote one, when the passive checks' results aren't fresh enough.
I've istalled the nagios-nrpe-server_2.8.1-1_i386.deb on the remote host and that installation created the /etc/nagios/nrpe.cfg and the /usr/sbin/nrpe files (which is normal) and also registered the service nagios-nrpe-server (which is cool).
I added the central server's IP address to the allowed_hosts directive on the nrpe.cfg file.
Problem is I can only do local checks (on the remote host to -H localhost || -H 127.0.0.1), so I tried changing the server_address directive on the nrpe.cfg file to reflect the remote server's IP address and restarted the nagios-nrpe-server service. That change made impossible for the remote nagios to check on itself with nrpe.
Please give me a light on this.
With my best regards,
sebastiaopburnay
Thank you for managing this great portal.
I have a distributed monitoring infrastructure with a central nagios server (working with NDOUtils to write in a MySQL DB) receiving passive service and host checks from a remote nagios instance/server via nsca. It was quite tricky to learn nagios and configure it to work the way it does.
Now I'm trying to configure the system so that the central server actively uses nrpe_checks on the remote one, when the passive checks' results aren't fresh enough.
I've istalled the nagios-nrpe-server_2.8.1-1_i386.deb on the remote host and that installation created the /etc/nagios/nrpe.cfg and the /usr/sbin/nrpe files (which is normal) and also registered the service nagios-nrpe-server (which is cool).
I added the central server's IP address to the allowed_hosts directive on the nrpe.cfg file.
Problem is I can only do local checks (on the remote host to -H localhost || -H 127.0.0.1), so I tried changing the server_address directive on the nrpe.cfg file to reflect the remote server's IP address and restarted the nagios-nrpe-server service. That change made impossible for the remote nagios to check on itself with nrpe.
Please give me a light on this.
With my best regards,
sebastiaopburnay