Feature REQ: Notification list with shifts per week

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
Glenp42
Posts: 13
Joined: Mon May 09, 2016 1:21 am

Feature REQ: Notification list with shifts per week

Post by Glenp42 »

We have four guys on call, two on the first week and two the second week, then rotating back.

It would be great if we could have a notification list for the first group and one for the second group that could automagically enable itself as per on/off week.

Managing the notification group manually would get rather tedious.


Glen.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Feature REQ: Notification list with shifts per week

Post by cigamit »

I don't see this as something that should be built into the plugin, but rather it would be fairly trivial for you to write another plugin (or script even) that handled this. Every 2 weeks, have it swap the emails in the notifications list to the current users.
Glenp42
Posts: 13
Joined: Mon May 09, 2016 1:21 am

Re: Feature REQ: Notification list with shifts per week

Post by Glenp42 »

Thanks for the reply and it all sounds good but do you (or anyone else) have any hints on how to accomplish this?

I'm ok with bash/cron but I don't see anything about the notification lists in the cacti cli commands documentation, so I can only assume I use the <path_cacti>/plugins/thold/notify_lists.php command.
Just not clear on the switches for the command or even if it can be ran from cli.

Thanks,

Glen.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests