I know this has been asked before, and maybe even by me, but you know, some of the best shows on TV are even better in reruns!
I have my two windows admins set as contacts on the host of every windows server. They of course get alerts for the hosts and all services on those hosts. What if I add a new service, that, lets say, monitors a process and I only want the application owner to get alerts. If I add that person as contact on the service, what do I have to do to that definition to make it so the windows admins do not also get the alerts?
Thanks
Repeat question - Alert inheriting
Repeat question - Alert inheriting
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: Repeat question - Alert inheriting
As far as the brains in the room are concerned, can't be done. Core request time!
Former Nagios employee
Re: Repeat question - Alert inheriting
Grrr, that is just a basic needtmcdonald wrote:As far as the brains in the room are concerned, can't be done. Core request time!
This should work as a workaround, right:
The windows admins are all added via template as a contact group. If I modify the service definition and add the user(s) I want contacted as individual contacts and then go to the contactgroups and select "null", that should do what I want, right?
EDIT: Signed up and made my first post on the core tracker! grrrr
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: Repeat question - Alert inheriting
Unless I misunderstood, this should work. In the legacy CCM there is a (?) icon you can click next to the contact groups section that explains fairly well.


Former Nagios employee
Re: Repeat question - Alert inheriting
I'm just going to have to find time to test. I know I used the "null" before and it didn't do exactly what I thought it would do.
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: Repeat question - Alert inheriting
Ok, I just tested this, and now asking someone at Nagios confirm I'm not brain dead or that I am...whichever 
On my dev server, I am the only contact and I belong to the admins contact group
I added a second contact(outside email address) and added it to a new contactgroup called test
I created a test host and set alerts to admins
I created a test service and set no contactgroup
I sent a custom notification on the service and I got it.
I added the contactgroup test to the service, send another custome notification and the test contact got it, but I did not. So that sounds like it ignores the host contactgroup if I add one to the service, right? setting the option to NULL made nobody get the notification and setting to + was same action as Standard.
So, umm....AHHHH. What's going on here?
On my dev server, I am the only contact and I belong to the admins contact group
I added a second contact(outside email address) and added it to a new contactgroup called test
I created a test host and set alerts to admins
I created a test service and set no contactgroup
I sent a custom notification on the service and I got it.
I added the contactgroup test to the service, send another custome notification and the test contact got it, but I did not. So that sounds like it ignores the host contactgroup if I add one to the service, right? setting the option to NULL made nobody get the notification and setting to + was same action as Standard.
So, umm....AHHHH. What's going on here?
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: Repeat question - Alert inheriting
I'll do my best...BanditBBS wrote:Ok, I just tested this, and now asking someone at Nagios confirm I'm not brain dead or that I am...whichever :)
Is this sorta what you have going on in the first scenario? The one where you get the email but the test user does not.

Former Nagios employee
Re: Repeat question - Alert inheriting
I saw this picture on my way home and it gave me a good chuckle...hasn't Ethan bought the office Visio yet? LOLtmcdonald wrote:I'll do my best...
Is this sorta what you have going on in the first scenario? The one where you get the email but the test user does not.
Seriously though, the answer to my original question should have been this:
1.) Just add a contactgroup to the service and the contactgroup on the host will be ignored
2.) Add the individual contacts to the service and set the contactgroup option on the service to NULL
Either one of those would have answered my original question. My second question in my later reply, is just asking you to verify the way I described is as expected behavior, so I know it won't get broken in the future.
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: Repeat question - Alert inheriting
I find a $1.49 pen beats $149 software in price, learning curve, setup time, ease of use, maintainability, stability, dependencies, resource allocation, localization, and customization. Plus it's DRM-free!BanditBBS wrote:I saw this picture on my way home and it gave me a good chuckle...hasn't Ethan bought the office Visio yet? LOL
Yes, that is expected behavior. Hosts sort of act like templates for services in this case.BanditBBS wrote: Seriously though, the answer to my original question should have been this:
1.) Just add a contactgroup to the service and the contactgroup on the host will be ignored
2.) Add the individual contacts to the service and set the contactgroup option on the service to NULL
Either one of those would have answered my original question. My second question in my later reply, is just asking you to verify the way I described is as expected behavior, so I know it won't get broken in the future.
Former Nagios employee