> 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?

Hi,

You can specify the port to use, in example NSClient++. Change the 
port=<portnumber> under the [NRPE] section in nsc.ini. NSClient will listen to 
the port you specified.

And when you issue the command ./check_nrpe -H <ipnumber> -p <portnumber> -c 
<command> it will connect to the port that you specify.

Hope this helps
/Joseph

The information in this E-mail is confidential. If you are not the intended 
recipient please notify the sender immediately and delete this E-mail without 
reading, using or disseminating the information contained in it. Although 
Touchbet Ltd believes this E-mail and any attachments are free of any virus or 
other defect which may affect a computer, it is the responsibility of the 
recipient to ensure that it is virus free and Touchbet Ltd does not accept any 
responsibility for any loss or damage arising in any way from its use.

------------------------------------------------------------------------------
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
[email protected]
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

Reply via email to