Services, Templates and Hostgroups

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gregwhite
Posts: 206
Joined: Wed Jun 01, 2011 12:40 pm

Services, Templates and Hostgroups

Post by gregwhite »

We have two services that are assigned to two different service templates. Each of those service templates are assigned to a hostgroup. The behavior that we are seeing is that the first template executes the services but the second one does not.
Is this how it should behave? It would be nice to be able to assign a service to more than one template.

Thanks,
Greg
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Services, Templates and Hostgroups

Post by jdalrymple »

gregwhite,

I think the problem is that templates replace contents of an object definition, they don't compliment them. You can change this behavior though. Click the + sign in your hostgroup window in your service templates. See picture.


If that doesn't solve it let us know.
You do not have the required permissions to view the files attached to this post.
gregwhite
Posts: 206
Joined: Wed Jun 01, 2011 12:40 pm

Re: Services, Templates and Hostgroups

Post by gregwhite »

That did the trick.

Thanks!!
Greg
Locked