<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Viktor Matys napsal(a):
<blockquote cite="mid:493F8F14.1050708@grumpa.net" type="cite">
  <pre wrap="">I have machine with NRPE server, where I needed change the port number 
where the NRPE listens. It's simply allowed in configuration file. But I 
cannot find out how to set this port number on main Nagios server, which 
collects information from that remote NRPE server. Is there a 
configuration directive I overlooked?

Thank for help

Viktor


  </pre>
</blockquote>
Thank to everybody for help. Solution is:<br>
<br>
We can put command line parameters in directive "address" in "define
host" statement:<br>
<br>
<tt># This is a nrpe remote server definition. NRPE is listening on
port 5667.<br>
# Tested on Debian Lenny.<br>
define host {<br>
    host_name    some_host<br>
    host_alias   some_alias<br>
    <b>address      host.domain.com -p 5667</b><br>
}<br>
<br>
<br>
</tt>Thank again :o)<br>
<br>
Viktor<br>
<br>
</body>
<br />-- 
<br />Tato zprava byla prohledana na vyskyt viru
<br />a nebezpecneho obsahu antivirovym systemem
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a> a 
<br />zda se byt cista.
</html>