check_ftp on check_nrpe..

Elizar M. Palad elizar.palad at gmail.com
Thu Sep 15 01:53:41 CEST 2005


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


-- 
----
Don't Tell Me How Hard You Work..
Show Me How Much You'd Accomplished..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050915/7b99d5ce/attachment.html>


More information about the Users mailing list