We are early in our Nagios XI deployment and have a lot of hosts we need to add for monitoring.
My question goes to how should notifications best be monitored? For example, let's say I am about to add another set of servers to be monitored. These servers are administered by the same group of people, so notifications should go to those people.
I can add the appropriate users to a contact group, but I still have to get that applied to the hosts. I was thinking at first that I could define a Host Group, set the contacts on the group, and add the relevant hosts to the group.
However, the Host Group doesn't seem to actually do anything - it has no settings. Am I missing something? Or is there a better way to handle changes like this?
A similar question will also then extend to the various services being monitored within the host and how to keep settings consistent on those. Ideally they would just inherit from the host, but it doesn't look like that is the case.
Appreciate any feedback you have to set us on the right path.
Thanks
Managing contacts for multiple hosts/services?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Managing contacts for multiple hosts/services?
You would add the contact_group to the host, not the hostgroup.
By default, the services will inherit the hosts contact_group
By default, the services will inherit the hosts contact_group
Re: Managing contacts for multiple hosts/services?
Is this something that happens beneath the scenes, but doesn't show up on the UI? By that, I mean, I added the contact group to the host, but if I then go look at one of the hosts services, it does NOT show the contact group.scottwilkerson wrote:By default, the services will inherit the hosts contact_group
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Managing contacts for multiple hosts/services?
Yes, you can see the section on "Implied Inheritance" about 2/3 down this page
https://assets.nagios.com/downloads/nag ... tance.html
https://assets.nagios.com/downloads/nag ... tance.html
Re: Managing contacts for multiple hosts/services?
Great, that documentation sounds like it is doing what I want. Thank you for your time and clarifications.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Managing contacts for multiple hosts/services?
No problemaclauss wrote:Great, that documentation sounds like it is doing what I want. Thank you for your time and clarifications.
Locking thread