hello,
I just noticed some users are getting email notifications for services they didn't subscribe to. There is however a contact group configured who is a notification contact for the host of this service. does this mean once you are a notification contact for a host, you are immediatley also a notification contact for all its services?
Is there a way to work around this? because I want some users to get email once the host is down, but not when a service for this host is in warning / critical state. Should the contact group only be a notification contact for the ping service if I want the above?
Tx
Notification question
Notification question
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Notification question
Nope. You should only get notified for the objects you are a contact on. There must be a misconfiguration, as contacts on hosts will only alert hosts, while contacts on services will only alert for those services.WillemDH wrote:does this mean once you are a notification contact for a host, you are immediatley also a notification contact for all its services?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Notification question
Well, I think there is something wrong with the notification system then. Something must be messed up as, there is definitely no user configured as notification contact for some services and they do receive notifications. Also when I tried to add myself as a notification contact, suddenly also another user received notifications.
I really don't get whre things are going wrong. Checked the notification settings in XI as wel as in CCM. No contacts defined. After I added my user, I can see my user as contact, although 4 other users also receive notifications for this service.
I need to get this cleared out. Any help is welcome..
I really don't get whre things are going wrong. Checked the notification settings in XI as wel as in CCM. No contacts defined. After I added my user, I can see my user as contact, although 4 other users also receive notifications for this service.
I need to get this cleared out. Any help is welcome..
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Notification question
Umm, it is my understanding (and I just tested it) that if you have a contact or contact group on a host and no contact or contact group on a service for that host, the service inherits the contacts from the host.abrist wrote:Nope. You should only get notified for the objects you are a contact on. There must be a misconfiguration, as contacts on hosts will only alert hosts, while contacts on services will only alert for those services.
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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Notification question
This is part of Implied inheritance which you can read about it 3/4 of the way down this page
http://nagios.sourceforge.net/docs/3_0/ ... tance.html
Services will inherit contacts from contact groups applied to a host.
http://nagios.sourceforge.net/docs/3_0/ ... tance.html
Services will inherit contacts from contact groups applied to a host.
Re: Notification question
Hi, Ok this explains it. Thread can be closed.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net