mail notification and notification_interval

Jason Martin jhmartin at toger.us
Fri Jan 30 17:55:39 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'd suggest a normal interval of 5, retry interval of 1 and max attempts 
of 2. That means you normally check every 5 minutes, but if there is a 
failure it'll come back in 1 minute and check again. If that fails it'll 
send a notifications. This gives you a max time-to-notify of ~ 6 minutes.

- -Jason Martin


On Fri, 30 Jan 2004, 
Neil wrote:

> Jason Martin writes: 
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1 
> > 
> >> I have a question now. Am I correct that if we set "max_check_attempts" to 
> >> 10, and we have "retry_check_interval" set at 5, then before we can receive 
> >> an email, it will take 50 minutes? The way I understand this config is that 
> >> it will check the service every 5 minutes, then it will try 10 times before 
> > You are correct. 
> 
> Oh! So what's your recommendation on a critical app/service like ORACLE or 
> MSSQL? 
> 
> This is what I have now:
> define service{
>        use                             generic-service
>        host_name                       dbsvr023
>        service_description             Microsoft SQL Service - 1433/TCP
>        is_volatile                     0
>        check_period                    24x7
>        max_check_attempts              3
>        normal_check_interval           2
>        retry_check_interval            1
>        contact_groups                  sql-admins
>        notification_interval           2
>        notification_period             24x7
>        notification_options            c,r
>        check_command                   check_tcp!1433
>        } 
> 
> This seems to be working now. But I don't know if the values here are good 
> for production use. 
> 
> Thanks again. 
> 
> Neil
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.3 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQFAGo3Cl2ODWuqVSBMRAksSAJ4sge4yRs4KFXWiRQwPjydoHR08EgCfZcCF
DTuGrvK/yGQcSk2cWIQCpT8=
=YoP7
-----END PGP SIGNATURE-----


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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