Question about Notification

Johannes Dagemark johannes.dagemark at op5.se
Thu Jul 24 10:04:05 CEST 2003


Hello Andreas

----- Original Message ----- 
From: "AIH Mailing Lists Account" <list at aih.de>
To: <Nagios-users at lists.sourceforge.net>
Sent: Thursday, July 24, 2003 8:12 AM
Subject: [Nagios-users] Question about Notification


> Hello List,
>
> i wonder when Nagios starts notification. We use Nagios 1.1 and if I
> understood the manual right, the notification should start after the
> max_check_attempts.
>
> normal_check_interval    3
> max_check_attempts      5
> retry_check_interval       1
>
> As I understood the man, Nagios should do 5 more checks with an delay of 1
> minute before sending a notification? Are I'm wrong?
> If i'm wrong, how can i force nagios the check the service 4 or 5 times
> before sending any notification.

This is correctly understood

>
> Next question:
> I've seen this question before on the list, but no answer was given. Is it
> possible to send warnings only per mail and critical events per mail and
> pager?

Just create 2 contacts

# contact1, send warnings only per mail
define contact{
        contact_name                    contact1
        alias                                   contact1
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    w
        host_notification_options       d,u,r
        service_notification_commands   notify-by-email
        host_notification_commands      host-notify-by-email
        email                           emailaddress at host.com
        }

# contact2, send critical per email & pager
define contact{
        contact_name                    contact2
        alias                                   contact2
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    c
        host_notification_options       d,u
        service_notification_commands   notify-by-pager
        host_notification_commands      host-notify-by-pager
        pager                                     12312313123
        }

I hope you get something out of this.

Regards
Johannes Dagemark
OP5 AB

>
> Thank you in advance
> Andreas Husemann
> AIH Service GmbH
> Germany
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> 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: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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