multiple timeperiods?
jeff vier
boinger at tradingtechnologies.com
Tue Jun 6 15:55:29 CEST 2006
On Tue, 2006-06-06 at 07:58 +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.
Ah, I see what you're saying.
Maybe I should just beg/pay someone to patch in support for contacts
having multiple timeperiods :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060606/7d4fa122/attachment.sig>
-------------- next part --------------
_______________________________________________
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