Why is mail sendt on first critical event.
Jack Doyle
jdoyle at lewisgaleclinic.com
Thu Nov 20 22:21:50 CET 2003
At first glance it looks right to me.. Mine will not send an email until
it's checked three times that there is a problem.
i.e. it can't reach smtp server once... Soft critical. Second time,
still soft. Third time, hard critical, email is sent.
-----Original Message-----
From: Henrik W. Hansen [mailto:spam at gyvelvej.dk]
Sent: Thursday, November 20, 2003 3:28 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Why is mail sendt on first critical event.
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
-------------------------------------------------------
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