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.
Notifications and Escalations
Notifications and Escalations
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Notifications and Escalations
Can't you just use the Bulk Mod Tool and add this contact to all hosts/services with one go?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Notifications and Escalations
But if I added to the actual hosts/services and the option for contacts isn't set to + then the contact on the host/service would override whats in the template, wouldn't it? We are very much multi-tenant here and have contacts almost exclusivley assigned through the ~150 different host templates. Maybe a few hundred services have extra contacts assigned.lmiltchev wrote:Can't you just use the Bulk Mod Tool and add this contact to all hosts/services with one go?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Notifications and Escalations
YoBanditBBS wrote:whats the easiest way to make a contact get sent every notification that goes out if I can't use escalations like that.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Specifically the host and service notifications.
Former Nagios employee
Re: Notifications and Escalations
Uh oh...we have a new competitor for bandit's favorite Nagios employee(this week - changes regularly)
This will work wonderfully, close this on up!
This will work wonderfully, close this on up!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github