Hi,

You can use the -p <port> parameter on check_nrpe

Bo


From: Alex Dehaini [mailto:[EMAIL PROTECTED]
Sent: 10. december 2008 11:52
To: Viktor Matys
Cc: Nagios Users Mailinglist
Subject: Re: [Nagios-users] host port setting

I will advice you configure the nrpe daemon on the remote host to listen on 
which ever port you choose. After that, restart nagios on the monitoring host 
and use the plugin in the libexec directory to see if you can still talk to the 
remote server.

To answer your question, I do not know of any directive to change the port 
number for nrpe on nagios.

Perhaps it is harded coded in the plugin, perhaps not, you will only know after 
testing it.

Lex
On Wed, Dec 10, 2008 at 10:30 AM, Viktor Matys <[EMAIL PROTECTED]<mailto:[EMAIL 
PROTECTED]>> wrote:
Alex Dehaini napsal(a):
U have to explain your setup pretty well before I can advice.

For example, a web server listens on port 80. A web browser connects to the web 
server on port 80 before communication can take place.

How is your setup like?

Lex
On Wed, Dec 10, 2008 at 10:15 AM, Cherrington Stuart <[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]<mailto:[EMAIL 
PROTECTED]>>> wrote:

   Viktor,

   The nrpe.cfg file (in my install its in /etc/Nagios) hold the port
   number 5666, is this what you rlooking for?
Hello, thanks

The question is: Is there a configuration direcitive for Nagios to connect 
remote NRPE on a port nuber different from 5666?


Do you know that directive?

Thank you


Viktor


--
Tato zprava byla prohledana na vyskyt viru
a nebezpecneho obsahu antivirovym systemem
MailScanner a zda se byt cista.



--
Alex Dehaini
Developer
Site - www.alexdehaini.com<http://www.alexdehaini.com>
Email - [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.16/1840 - Release Date: 09-12-2008 
16:53
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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