mail notification and notification_interval
Neil
neil-on-nagios at restricted.dyndns.org
Fri Jan 30 18:48:14 CET 2004
Jason Martin writes:
> -----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.
>
This is what you meant right?
define service{
use generic-service ; Name of
service template to use
host_name freebsd
service_description Apache Web Server
is_volatile 0
check_period 24x7
max_check_attempts 2
normal_check_interval 5
retry_check_interval 1
contact_groups bsd-admins
notification_interval 5
notification_period 24x7
notification_options c,r
check_command check_http_string!/test.txt!test!5!10
}
-------------------------------------------------------
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