I noticed that the default configuration includes
cfg_dir=conf.d

However when I put a config file in there, it gets deleted when reloading the configs. I cannot seem to find a way to add custom config files that don't get removed when opsview reloads it's configs. Please enlighten me on how to accomplish this.

The reason I ask is that I need to define timeperiods (for on-call rotation) that cannot be achieved via the opsview timeperiods configuration page. Here is an example timeperiod I need to define:

define timeperiod {
        timeperiod_name         admin1-oncall
alias Amin1's oncall rotation
        2009-12-14      / 49    00:00-24:00     ; Every sixth Monday
        2009-12-15      / 49    00:00-24:00     ; Every sixth Tuesday
        2009-12-16      / 49    00:00-24:00     ; Every sixth Wednesday
        2009-12-17      / 49    00:00-24:00     ; Every sixth Thursday
        2009-12-18      / 49    00:00-24:00     ; Every sixth Friday
        2009-12-19      / 49    00:00-24:00     ; Every sixth Saturday
        2009-12-20      / 49    00:00-24:00     ; Every sixth Sunday
}

The other 6 on-call admins get similar timeperiods defined for them based sequential weeks.
It is critical that I am able to achieve this kind of configuration.

Thanks!

Sean

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to