Page 1 of 1

Link servicegroups to hostgroups

Posted: Mon Jun 01, 2020 4:06 pm
by dariopalermo
Correct me if I'm wrong: Nagios still doesn't have a simple way to link a Service Group to an Host Group. You have to create a service template to do that, right?

And if that is right... seriously??? Not even with some additional magic from XI?

bye, Dario

Re: Link servicegroups to hostgroups

Posted: Tue Jun 02, 2020 7:45 am
by scottwilkerson
No there is not.

These are kept separate because they act completely different than one another when applying to services.

For example with hostgroups, if you create a service and add a hostgroup to it, ALL members of the hostgroup (hosts) will have that service added to them to me monitored.

Servicegroups however are just a logical grouping of services.

Re: Link servicegroups to hostgroups

Posted: Wed Jun 03, 2020 2:32 pm
by dariopalermo
These are design flaws, there is absolutely no reason to not apply a group of service to a group of host. It's the most simple and logical way to work with more than a few hosts. However it appears that I will have to suck it and work with less linear solutions to get what I want.

bye, Dario

Re: Link servicegroups to hostgroups

Posted: Wed Jun 03, 2020 2:52 pm
by scottwilkerson
dariopalermo wrote:These are design flaws, there is absolutely no reason to not apply a group of service to a group of host. It's the most simple and logical way to work with more than a few hosts. However it appears that I will have to suck it and work with less linear solutions to get what I want.

bye, Dario
Unfortunately there is no built-in what to do this in the underlying Nagios Core engine.

You can feel free to make a feature request to the Core project outlining what you would like to see and how it would function for possible addition to future versions of Core which would be implemented in XI
https://github.com/NagiosEnterprises/nagioscore/issues

Re: Link servicegroups to hostgroups

Posted: Wed Jun 03, 2020 3:49 pm
by dariopalermo
As per my original post, I'm aware this is a Core limitation. Still, XI could provide a way to manage this situation, and I mean something more than a simple bulk tool. I'll put in a feature request.

Bye, Dario

Re: Link servicegroups to hostgroups

Posted: Wed Jun 03, 2020 4:28 pm
by scottwilkerson
dariopalermo wrote:As per my original post, I'm aware this is a Core limitation. Still, XI could provide a way to manage this situation, and I mean something more than a simple bulk tool. I'll put in a feature request.

Bye, Dario
Thx