Page 1 of 1

Managing contacts for multiple hosts/services?

Posted: Fri May 31, 2019 3:21 pm
by aclauss
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

Re: Managing contacts for multiple hosts/services?

Posted: Fri May 31, 2019 4:22 pm
by scottwilkerson
You would add the contact_group to the host, not the hostgroup.

By default, the services will inherit the hosts contact_group

Re: Managing contacts for multiple hosts/services?

Posted: Sat Jun 01, 2019 4:44 pm
by aclauss
scottwilkerson wrote:By default, the services will inherit the hosts contact_group
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.

Re: Managing contacts for multiple hosts/services?

Posted: Mon Jun 03, 2019 7:01 am
by scottwilkerson
Yes, you can see the section on "Implied Inheritance" about 2/3 down this page

https://assets.nagios.com/downloads/nag ... tance.html

Re: Managing contacts for multiple hosts/services?

Posted: Tue Jun 04, 2019 2:40 pm
by aclauss
Great, that documentation sounds like it is doing what I want. Thank you for your time and clarifications.

Re: Managing contacts for multiple hosts/services?

Posted: Tue Jun 04, 2019 3:08 pm
by scottwilkerson
aclauss wrote:Great, that documentation sounds like it is doing what I want. Thank you for your time and clarifications.
No problem

Locking thread