Page 1 of 1

Group and template

Posted: Tue Apr 13, 2021 4:19 am
by rebug
I have building a configuration for Nagios XI.

I would have to have the most evolutive configuration.

I made a service template associated with service group for each host group.
Now I would like to add a specific service group for a host group.

My configuration is builded like that, for each category I have :
NAME_HOST_TEMPLATE
NAME_HOST_GROUP linked with his template
NAME_SERVICE_TEMPLATE
NAME_SERVICE_GROUP linked with his template and containing all service check.

For example I have a Host Group Linux_HOST_GROUP, a host Template Linux_HOST_TEMPLATE, with LINUX_SERVICE_TEMPLATE and LINUX_SERVICE_GROUP.

and the same thing for SNMP. how I can apply all check from my SNMP_SERVICE_GROUP to all my LINUX_HOST_GROUP ?

Maybe there is a better approach, but I hope you will understand what's Im trying to do.

Re: Group and template

Posted: Tue Apr 13, 2021 3:19 pm
by vtrac
Hi,
On your SNMP_SERVICE_TEMPLATE, add LINUX_HOST_GROUP to its.


Best Regards,
Vinh