Page 1 of 1

On-Call Rotation Handling(New Method!!!)

Posted: Wed Dec 18, 2013 6:29 pm
by BanditBBS
Ok all, I just added a new method for handling on-call rotation. It is located here: http://exchange.nagios.org/directory/Co ... ll/details

My original on-call rotation method required all kind of static files, restarts of nagios and all other stuff to be done. It wasn't the easiest method in the least! This new method is for XI ONLY and users MUST be XI users and not just contacts. Other than that, everything else is done through the Web UI and no restarts of any process are required to change who is on call.

If you have any questions, get in contact with me, more than happy to help/answer questions.

p.s. Feel free to close this thread if you want, I just wanted to let the people know in here :)

Also, there is now a component included that adds a link to show you the current on-call information.

Re: On-Call Rotation Handling(New Method!!!)

Posted: Thu Dec 19, 2013 9:46 am
by tmcdonald
Close the thread? Surely not before someone from Nagios thanks you for the scripts! I'll see if abrist or slansing are available to do so :roll:













But for real, thanks for the uploads.

Re: On-Call Rotation Handling(New Method!!!)

Posted: Thu Dec 26, 2013 1:06 pm
by BanditBBS
Ok, so I have thought of an issue and can't think of a fix with this new method.

I create a network-pri contact and assign the notification commands to it as outlined in my directions and that is how the primary on-call person is alerted.
for the network group, after 15 minutes the secondary will be alerted using an escalation and 15 minutes after that, the entire network team(contact group) gets alerted via an escalation.

Here is the issue: Since the primary is are being alerted through a contact that isn't really them, Nagios won't be able to tell and not alert them twice(notification sent to contact on the service and the escalation to the entire team). Anyone have any thoughts on how to stop that from happening? Any way to suppress alerts on a host/service after it starts getting escalated so only the escalations are sent?

Re: On-Call Rotation Handling(New Method!!!)

Posted: Thu Dec 26, 2013 3:22 pm
by tmcdonald
BanditBBS, have you tried contacting the author of the plugin, BanditBBS? He might have some input.





*waits to be e-slapped*





Seriously though, I can't think of anything elegant. Since you're telling Nagios to first email the network-pri contact, it thinks that's the name of the contact and you probably can't easily convince it otherwise. Sam and I agree that there is no way currently to only allow through the escalation portion. I suppose you could - and this is very ugly - extend your plugin to handle all contacts based on your own rule set and build in the logic yourself.

Re: On-Call Rotation Handling(New Method!!!)

Posted: Thu Dec 26, 2013 3:26 pm
by BanditBBS
Wow, that was funny. I honestly laughed out loud. if we were at the conference I'd buy you a free drink!

Yeah, the only two resolutions I thought of so far...extending my notification method like you said....or, telling them to deal with it. if they aren't doing their job and acknowledging it in time, then they deserve two emails and SMS :)

I am of course open to suggestions from others if anyone thinks of something.

Re: On-Call Rotation Handling(New Method!!!)

Posted: Thu Dec 26, 2013 4:18 pm
by tmcdonald
Just posting to keep this off our radar as "replied to". Andy should be in tomorrow, and Spense on Monday so maybe they have something.