Why is mail sendt on first critical event.

Henrik W. Hansen spam at gyvelvej.dk
Thu Nov 20 21:27:54 CET 2003


Hi All.
A newbie question. How do I send an email when the serice have failed X 
number of times.
One service looks like
define service{
        use                             generic-service         ; Name 
of service template to use
        host_name                       gandalf
        service_description             CVS
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           30
        retry_check_interval            2
        contact_groups                  linux-admins
        notification_interval           1120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_tcp!2401
        }

I get an email on first "critical". I only want it when 
"max_check_attemts" are reached.
Can I do that?

/Henrik




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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