Notifications and Escalations
Posted: Thu May 21, 2015 1:47 pm
Ok, so we're writing code to make all notifications automatically create a ticket in our helpdesk application. basically I wrote a custom notification handler and its all working fine on the nagios end. They are still writing/testing on the helpdesk end and asked me to enable notifications so they got a few tests. I decided to take the lazy man way out and just did a service escalation with * for host and * for service. I set first and last notification to 1 and interval to 0. All of our notifications are set to 0 already as we only send one initial notification.
What I then noticed was notifications were only going to the helpdesk and not the other contacts. I read this page, http://nagios.sourceforge.net/docs/3_0/escalations.html, and determined that is proper. So my question is, whats the easiest way to make a contact get sent every notification that goes out if I can't use escalations like that. Am I going to have to modify 150 host templates and add the contact? That will catch 95% of them, but then there are the ones I put custom contact/contactgroups on specific services that I'd have to remember.
What I then noticed was notifications were only going to the helpdesk and not the other contacts. I read this page, http://nagios.sourceforge.net/docs/3_0/escalations.html, and determined that is proper. So my question is, whats the easiest way to make a contact get sent every notification that goes out if I can't use escalations like that. Am I going to have to modify 150 host templates and add the contact? That will catch 95% of them, but then there are the ones I put custom contact/contactgroups on specific services that I'd have to remember.