Nagios communication - NRPE doubt

Marc Powell marc at ena.com
Tue Oct 20 17:53:06 CEST 2009


On Oct 20, 2009, at 10:32 AM, akp geek wrote:

> Hi all
>                   I have a question on how NRPE works. I have  
> installed Nagios on one server1 and Nrpe on server2. they are on the  
> same subnet.
>
> the way I execute the commands on the server2 is  Server1:nrpe! 
> commandonServer2
>
> It works fine now. both servers are on the same subnet. But if I  
> would like to monitor a server outside the firewall, Is there  
> particular port that needs to be opened or how does that  
> communication work?

Nagios calls check_nrpe locally which contacts NRPE on the remote host  
on the port specified by the check_nrpe command line (look at the  
command{} definition for nrpe). You can change the port that NRPE uses  
in nrpe.cfg on the remote host. You'll also need to change the  
check_nrpe command line to match. If the remote host is behind a  
firewall that restricts access, you'll need to ensure that TCP access  
to that port is permitted.

--
Marc


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list