[Nagiosplug-help] check_ping service not generating alerts.

Nadeem Mushtaq nmushtaq at imunar.com
Sat Jul 10 00:10:11 CEST 2010

Hello Marc.
Thanks for your email. I appreciate your help.

-----Original Message-----
From: Marc Powell [mailto:lists at xodus.org] 
Sent: Friday, July 09, 2010 6:19 PM
To: Nagios Plugin Help List
Subject: Re: [Nagiosplug-help] check_ping service not generating alerts.

On Jul 7, 2010, at 6:33 PM, Nadeem Mushtaq wrote:

> Hi all,
> I have defined a service for PING in Nagios as follows:
> define service{
>    use                                      generic-service
>    host_name                      example.net
>    service_description     PING
>    check_command          check_ping!1600.0,40%!3000.0,60%
> }
> Problem is when I down the host it sends alerts for all other services but
none for "PING service". PING alert is sent out for Host after specified
max_check_attempts. I want to be notified for the PING service (defined
above) as well. I noticed that service state changes to Hard to Soft and
then immediately to Hard bypassing the max_check_attemps and does not
generate any alert. Am I missing something or is it a bug?

If so, the bug would be that you receive any service alerts at all. When any
service on a host returns a non-OK result, nagios immediately checks the
host. When a host check returns a non-OK result, all notifications for
services on that host are suppressed.

This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

More information about the Help mailing list