FTP Server is shown alive, but Nagios says DOWN!

IT Toonz it.toonz at gmail.com
Tue Sep 28 12:23:31 CEST 2010


 

Please see the config file below, for host alive check we are using
check_ftp service.

 

 

# Define a service to check host alive  the remote machine

 

 define service{

          use                             local-service         ; Name of
service template to use

          host_name                       ftpsrv

          service_description             Check FTP Service

          check_command                   check_ftp!

          }

 

Service check shows UP! But overall Nagios says ftp server is down!

 

Can't figure out why it is so?

 

 

 

 

 

 

From: Assaf Flatto [mailto:nagios at flatto.net] 
Sent: 28 September 2010 14:58
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN!

 

On 28/09/10 09:52, IT Toonz wrote: 

Thanks Bram for the reply.

 

Ping is not working. It should. Will check and post.

 

But Nagios is able to get the other values, as is obvious from the attached
images in the previous mail.

 

Regards

Anth.

 

 

 

>From the looks of it you are using the default "check_host_alive" check for
the host - this is a fancy name for a ping check done for the host .

the other checks are using other TCP ports and protocols that your
host/firewall allows and hence you get the "UP" for them .

If you had set a dependency of check_host_alive -> all services on host ,
then once the host "failed" all the checks on the server would stop and turn
critical too.

Assaf



-- 
Never,Ever Cut A Deal With a Dragon 
 
 
Next year I will be doing the London to Paris bike ride to 
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100928/e01b3182/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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


More information about the Users mailing list