multiple timeperiods?
Hugo van der Kooij
hvdkooij at vanderkooij.org
Tue Jun 6 07:58:47 CEST 2006
On Mon, 5 Jun 2006, jeff vier wrote:
> On Mon, 2006-06-05 at 22:38 +0200, Hugo van der Kooij wrote:
> > > Is there any way to put multiple timeperiods in a contact's
> > > service_notification_period/host_notification_period?
> > >
> > > Or, some other way that I'm not visualizing?
> >
> > How about creating templates and merging them together to form the config?
> > Should not be too hard to write and it can be flexed to your needs.
>
> Wouldn't a timeperiod template's definition for, say, monday just be
> overridden by a timeperiod definition, instead of added-to?
I am not referring to nagios templates. Merge config files as you see fit
based on crontab entries.
Just create your config files but leave the changing parts out of it. Then
put those part in other files. (As many as you need) and automate to
change the changing parts as often as required.
That is how I would do it.
Hugo.
--
I hate duplicates. Just reply to the relevant mailinglist.
hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.
_______________________________________________
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