why the Ping service is still being checked?

carole verdon verdon at cict.fr
Tue Jul 13 10:28:56 CEST 2004


Is the definition of template 'some-host-tmpl' not contain a check_command like check_host_alive?

If it's the case, you can look your command.cfg file and verify if a command using ping isn't definied.



Ling Zhang wrote:

>Nope. I did not define a universal ping service and the grep didn't
>return with any surprises. 
>
>Ling
>
>
>-----Original Message-----
>From: Jeff Rodriguez [mailto:nagios-users at gurugeek.com] 
>Sent: Monday, July 12, 2004 3:56 PM
>To: Ling Zhang
>Subject: Re: [Nagios-users] why the Ping service is still being checked?
>
>A ping /service/ does not exist by default. I'm guessing you created one
>
>with a host_name of * which will ping everything.
>
>grep -i ping services.cfg
>
>Any output?
>
>Jeff
>
>Ling Zhang wrote:
>
>  
>
>>No "ping" service was defined for that server. I am very sure about
>>that. It almost looks like the Ping service is checked by default,
>>unless I turned it off some where. 
>>
>>Ling
>>
>>
>>-----Original Message-----
>>From: Jeff Rodriguez [mailto:nagios-users at gurugeek.com] 
>>Sent: Monday, July 12, 2004 2:43 PM
>>To: Ling Zhang
>>Subject: Re: [Nagios-users] why the Ping service is still being
>>    
>>
>checked?
>  
>
>>You've probably created a "ping" service. Search your services.cfg for
>>    
>>
>a
>  
>
>>service 
>>named "ping"
>>
>>Jeff
>>
>>Ling Zhang wrote:
>> 
>>
>>    
>>
>>>Hi, there,
>>>
>>>I have configured Nagios to monitor the HTTP service on a server that
>>>does not respond to Pings. To avoid letting nagios assuming the server
>>>host is down, I specified nagios to check host status with a
>>>   
>>>
>>>      
>>>
>>check-dummy
>> 
>>
>>    
>>
>>>command, which will always return with an "UP" status. However,
>>>   
>>>
>>>      
>>>
>>although
>> 
>>
>>    
>>
>>>never defined anywhere in my configuration files, nagios kept checking
>>>the "PING" service on that server and reported "ping service" down,
>>>   
>>>
>>>      
>>>
>>even
>> 
>>
>>    
>>
>>>the host status is "UP" and the HTTP service on that server is "OK".
>>>
>>>Here is the host definition and service definition of that specific
>>>server:
>>>
>>>################ host definition######################
>>>
>>>define host {
>>>       use             some-host-tmpl
>>>       host_name       server.abcd.com
>>>       alias           server.abcd.com
>>>       address         1.2.3.4
>>>       check_command   check-dummy 			;always return
>>>"up"
>>>       parents         parent.abcd.com     
>>>}
>>>
>>>################ service Definition ##################
>>>
>>>define service { 
>>>       use                             default-service 
>>>       host_name                       server.abcd.com
>>>       service_description             HTTP
>>>       check_command                   check_HTTP
>>>}
>>>
>>>So, any idea why is that?
>>>
>>>Thanks.
>>>
>>>Ling
>>>
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.Net email sponsored by Black Hat Briefings & Training.
>>>Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
>>>digital self defense, top technical experts, no vendor pitches, 
>>>unmatched networking opportunities. Visit www.blackhat.com
>>>_______________________________________________
>>>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
>>>   
>>>
>>>      
>>>
>>
>> 
>>
>>    
>>
>
>
>
>-------------------------------------------------------
>This SF.Net email sponsored by Black Hat Briefings & Training.
>Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
>digital self defense, top technical experts, no vendor pitches, 
>unmatched networking opportunities. Visit www.blackhat.com
>_______________________________________________
>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
>
>
>  
>

-- 
**********************************
VERDON Carole
Ingénieur Système
CICT - Université Paul Sabatier
118, route de Narbonne
31062 Toulouse Cedex
Tél.: 05.61.36.60.44
Fax: 05.61.52.14.58
Mail: verdon at cict.fr
**********************************	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040713/6758eedd/attachment.html>


More information about the Users mailing list