Query regarding Nagios notification

Marc Powell marc at ena.com
Wed Oct 14 14:26:07 CEST 2009


On Oct 14, 2009, at 12:43 AM, Satish Kumar P wrote:

> Hi,
>
> We have a Nagios server that monitors around 300 production servers
> and around 2000+ services on all these servers. Recently, when the
> STATE of one of the services on a particular host turned HARD, but
> Nagios didn't NOTIFY. So I am just trying to understand why it didn't
> notify. Here's more information regarding the configuration:
>
> define service {
>        service_description     MAILQ_1K_2K
>        host_name               server-name
>        use                     generic-service
>        check_command           check_mailq_snmp!1000!2000
>        contact_groups          cg_server-name
> }

> Following are the few relevant options defined under "generic- 
> service":
>
>    check_period                    24x7
>    normal_check_interval           5
>    retry_check_interval            2
>    max_check_attempts              5
>    notification_period             24x7

No notification_options or contact_groups. What are they? Check  
objects.cache.

> More info: Looking at Nagios documentation, I understand that Nagios
> does "on demand host checks" when a service changes STATE. So I
> guessed, Nagios might have performed HOST CHECK when it actually
> turned HARD (and simultaneously from WARNING to CRITICAL).

Yes, nagios will run a host check and if it returns non-OK,  
notifications for the service will be suppressed. What do you see in  
nagios.log related to the host?

> Thoughts??

Do you get notifications at all, for anything? Verify that you haven't  
disabled notifications program wide (in nagios.cfg or via the web  
interface) or for this specific service (via the web interface). I  
tend to look in status.dat for that information but it can be found in  
the GUI under Program Info and the specific service.

--
Marc


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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