Good afternoon,
Within my windows,cfg file, I have a number of hosts that refer to "windows-server" as defined in templates.cfg
"windows-server" has a contact group defined.
Within windows.cfg, I also have a number of services that refer to "generic-service" also as defined in templates.cfg
"generic-service" ALSO has a contact group defined.
Although the obvious answer would be to have the contact group defined in one place or the other but not both, at the moment, if a particular service for a particular server generated an error condition, where would the email alerts be sent - to the contact group defined in "windows-server" or the contact group defined in "generic-service"?
Thanks in advance
Pete
Nagios Core notification query
Re: Nagios Core notification query
HI,
If service changes state to non-OK, nagios will generate notification for contact-group (or contact) defined for this service (not host)
If server goes down, nagios will generate notification for group defined in host cfg
So you can define one contact group : Admins
but you need to assign this group to Hosts and also to all services
or you can split this, create 2 groups (Host Admins, Service Admins) and assign different group to host/services..
If service changes state to non-OK, nagios will generate notification for contact-group (or contact) defined for this service (not host)
If server goes down, nagios will generate notification for group defined in host cfg
So you can define one contact group : Admins
but you need to assign this group to Hosts and also to all services
or you can split this, create 2 groups (Host Admins, Service Admins) and assign different group to host/services..
-
neworderfac33
- Posts: 329
- Joined: Fri Jul 24, 2015 11:04 am
Re: Nagios Core notification query
That's explained it perfectly - thank you! 
Re: Nagios Core notification query
Thanks @kiklop!
@neworderfac33 - are we good to close this thread out?
@neworderfac33 - are we good to close this thread out?
Former Nagios Employee
-
neworderfac33
- Posts: 329
- Joined: Fri Jul 24, 2015 11:04 am
Re: Nagios Core notification query
Yes - close away! 