schedule downtime
Marko Riedel
mriedel at neuearbeit.de
Tue Nov 19 17:55:36 CET 2002
Pascal Miquet writes:
> [1 <text/plain; UTF-8 (quoted-printable)>]
> Into the service.cfg file you declare the services you need, and there
> you attach a check_period to this service.
> Note that the time period will defined into the etc/timeperiod.cfg of
> course.
>
Hello there,
I tried this already. I have
define service{
use nsca-service
service_description SOMENAME
host_name somehost
check_period workhours
notification_period workhours
freshness_threshold 1200
}
(this is a passive check) but for some reason NAGIOS traces the
service as CRITICAL during non-workhours and the trends CGI shows
non-workhours marked as RED (CRITICAL).
I think I really do need to schedule downtime using the downtime
feature instead of merely setting the check- and notification
periods. How to do this?
Best regards,
> This is how I would set serveral checks for a "service" according to
> daily production, as some days got some peak of production.
> HTH
> Regards
>
> Le mar 19/11/2002 à 17:02, Marko Riedel a écrit :
>
> Hallo there,
>
> I have a very simple question, I hope nobody minds ... I know how to
> schedule downtime with the web interface, i.e. manually. I'd like to
> know how to schedule downtime automatically. I'd like a file where I
> can say "downtime for service X is timeperiod T." Does such a file
> exist? Or do I have to write to the command file, like with external
> commands? If yes, what is the syntax?
>
> Best regards,
>
> Marko Riedel
>
> __________________________________________________________________
>
> Gesendet von Yahoo! Mail - http://mail.yahoo.de
> Möchten Sie mit einem Gruà antworten? http://grusskarten.yahoo.de
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: To learn the basics of securing
> your web site with SSL, click here to get a FREE TRIAL of a Thawte
> Server Certificate: http://www.gothawte.com/rd524.html
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
>
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
> [2 <text/html; utf-8 (7bit)>]
>
--
+------------------------------------------------------------+
| Marko Riedel, EDV Neue Arbeit gGmbH, mriedel at neuearbeit.de |
| http://www.geocities.com/markoriedelde/index.html |
+------------------------------------------------------------+
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
More information about the Users
mailing list