Notifications and Escalations

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Notifications and Escalations

Post by BanditBBS »

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.
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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Notifications and Escalations

Post by lmiltchev »

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!
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Notifications and Escalations

Post by BanditBBS »

lmiltchev wrote:Can't you just use the Bulk Mod Tool and add this contact to all hosts/services with one go?
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.
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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Notifications and Escalations

Post by tmcdonald »

BanditBBS wrote:whats the easiest way to make a contact get sent every notification that goes out if I can't use escalations like that.
Yo

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Specifically the host and service notifications.
Former Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Notifications and Escalations

Post by BanditBBS »

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!
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
Locked