<div>Hi Jason!</div>
<div> </div>
<div>Yes, i have it running in my remote host as daemon.</div>
<div> </div>
<div>my nrpe.cfg looks like this:</div>
<div>server_port=5666</div>
<div>nrpe_user=nagios<br>nrpe_group=nagios<br>command_timeout=60</div>
<div>command[check_ftp]=/usr/local/libexec/check_ftp -H <a href="http://10.160.2.1">10.160.2.1</a> -p 21</div>
<div> </div>
<div>Thanks!</div>
<div> </div>
<div><br> </div>
<div><span class="gmail_quote">On 9/15/05, <b class="gmail_sendername">Jason Bodnar</b> <<a href="mailto:jason@shakabuku.org">jason@shakabuku.org</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Do you have the nrpe running on the remote host? Do you have a command defined<br>in nrpe.cfg for check_ftp? What does it look like?
<br><br>On Thu, 15 Sep 2005 07:41:16 +0800, Elizar M. Palad wrote<br>> Hi all! Me again! :-)<br>>   I just installed nrpe both on local nagios machine and<br>> to the remote host.<br>>  I get a "CHECK_NRPE: Received 0 bytes. Are we allowed to connect to
<br>> the host? " with these definition: define service{ use generic-<br>> service ; Name of service template to use host_name 2 FTPTEST<br>> check_command check_nrpe!check_ftp } define command{ command_name check_nrpe
<br>> command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$<br>> }<br>>   Then i get: Socket timeout 10sec with this definition:<br>>  define service{<br>> use generic-service ; Name of service template to use
<br>> host_name 2 FTPTEST<br>> check_command check_nrpe!ftptest!21!check_ftp<br>> }<br>>  define command{<br>> command_name check_nrpe<br>> command_line /usr/local/nagios/libexec/check_nrpe -H $ARG1$ -p<br>
> $ARG2$ -c $ARG3$ }<br>><br>> could someone guide me on this one? Thanks in advance!<br>><br>> --<br>> ----<br>> Don't Tell Me How Hard You Work..<br>> Show Me How Much You'd Accomplished..<br>> 
<a href="http://www.razile.com">http://www.razile.com</a><br><br><br>--<br>Jason Bodnar<br><a href="mailto:jason@shakabuku.org">jason@shakabuku.org</a><br><a href="http://www.shakabuku.org">http://www.shakabuku.org</a><br>
<br>"You want free speech? Let's see you acknowledge a man whose words make<br>your blood boil who is standing center stage advocating at the top of<br>his lungs that which you would spend a lifetime opposing at the top of
<br>yours." -- President Andrew Shephard, "The American President"<br><br></blockquote></div><br><br clear="all"><br>-- <br>----<br>Don't Tell Me How Hard You Work..<br>   Show Me How Much You'd Accomplished..