Link servicegroups to hostgroups

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dariopalermo
Posts: 48
Joined: Fri Oct 31, 2014 1:13 pm

Link servicegroups to hostgroups

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

Re: Link servicegroups to hostgroups

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dariopalermo
Posts: 48
Joined: Fri Oct 31, 2014 1:13 pm

Re: Link servicegroups to hostgroups

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

Re: Link servicegroups to hostgroups

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dariopalermo
Posts: 48
Joined: Fri Oct 31, 2014 1:13 pm

Re: Link servicegroups to hostgroups

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

Re: Link servicegroups to hostgroups

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked