notifications not being sent on host down/unreachable

Noel Platzke neufpas at gmail.com
Tue Oct 6 20:38:20 CEST 2009


So this is working now but I'm not sure why. I deleted the objects.cache
file and restarted and got a host down alert as soon as nagios came up.


On a whim I deleted the cache file and restarted nagios and it sent out a
host down alert. I didn't change anything else.


On Tue, Oct 6, 2009 at 2:22 PM, Noel Platzke <neufpas at gmail.com> wrote:

> I included the template because the actual host definitions only include
> the server specific information. I'm not overriding anything. For example...
>
> define host{
>         use             standard-host
>         host_name       server1
>         hostgroups      +servers
>         alias           server1
>         address         server1.domain.com
>         }
>
>
> The same goes for contacts everything else.
>
>
> On Tue, Oct 6, 2009 at 1:53 PM, Marc Powell <marc at ena.com> wrote:
>
>>
>> On Oct 6, 2009, at 12:21 PM, Noel Platzke wrote:
>>
>> > My host, service and contacts are defined with the following
>> > templates:
>> >
>> > define host{
>> >         name                            standard-host
>> >         max_check_attempts              3
>> >         check_interval                  15
>> >         retry_interval                  5
>> >         check_command                   check-host-alive
>> >         check_period                    24x7
>> >         notifications_enabled           1
>> >         retain_status_information       1
>> >         retain_nonstatus_information    1
>> >         contacts                        ops
>> >         notification_interval           15
>> >         notification_period             24x7
>> >         check_freshness                 1
>> >         freshness_threshold             300
>> >         register                        0
>> >         }
>>
>> Hello,
>>
>> This is just a template and not a complete host definition. In fact,
>> they were all just templates and missing critical pieces of
>> information or may have parts that are overridden in the full
>> definition. You should post the entire definition for the host,
>> contact group and contact as found in objects.cache. At first glance,
>> you don't specify any notification_options for the host. With
>> Nagios-3, this will mean that all states will result in a notification
>> but under 2.x I believe that behavior is different. I'd go ahead and
>> specify the specific states to you want to receive notifications for.
>>
>> --
>> Marc
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® 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/devconf
>> _______________________________________________
>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091006/2def5364/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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/devconf
-------------- 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