Best Practice for Assigning Services to Hostgroups

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Best Practice for Assigning Services to Hostgroups

Post by uidaho »

We are currently in the planning phase of a new Nagios XI implementation. We are considering two different models for assigning services to HostGroups. One model would assign services to a service template, and then assign a hostgroup to the service template. The second model would assign services to a service template, and then assign a hostgroup to the service itself. Is there a prevailing methodology within the XI community? Are there any long term pitfalls to either method that we may be missing? Any thoughts on the topic would be appreciated.

thank you
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Best Practice for Assigning Services to Hostgroups

Post by scottwilkerson »

I would create a service template with all the specs you need.
Then create a service, attach the template to the service and add hostgroups to the service. Also, add contact groups to the service.

This way, if you need to make changes on for the service according to the hostgroups assigned you can do it at the service level and the template can remain the same for multiple services.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked