Notification question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Notification question

Post by WillemDH »

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
Nagios XI 5.8.1
https://outsideit.net
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Notification question

Post by abrist »

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?
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.
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.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Notification question

Post by WillemDH »

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..
Nagios XI 5.8.1
https://outsideit.net
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Notification question

Post by BanditBBS »

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.
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.
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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notification question

Post by scottwilkerson »

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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Notification question

Post by WillemDH »

Hi, Ok this explains it. Thread can be closed.
Nagios XI 5.8.1
https://outsideit.net
Locked