We found this old post - https://support.nagios.com/forum/viewto ... 2&start=20
We have the same situation. Reading that post, it appears that I need to still apply the service template to a service on each host (or at least one host) and then it will flow down.
Does this seem correct to you?
Confused about service_template applying or not
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Confused about service_template applying or not
No. I just created a new service and applied a template only In the template I have assigned only this hostgroup, and no hosts After Applying Configuration, I have the "test" service applied to all hosts in the hostgroupproxibid wrote:Does this seem correct to you?
You do not have the required permissions to view the files attached to this post.
Re: Confused about service_template applying or not
OK, the light bulb finally went on for me. I create a service that does not have to be tied to a host configuration. I can create another configuration called whatever. That will "activate" the service template which will applies it to all the hosts in the host group.
Does that sound correct?
I was missing the bit where the service didn't need to be tied to the host config I think.
Does that sound correct?
I was missing the bit where the service didn't need to be tied to the host config I think.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Confused about service_template applying or not
That sounds correct.proxibid wrote:Does that sound correct?
I was missing the bit where the service didn't need to be tied to the host config I think.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Confused about service_template applying or not
I'll add that by default when you run wizards, Nagios XI create the configs for the services and uses the hosts name for the config name, but this is just a convention, not a rule.
I'm sure this is what caused the confusion
I'm sure this is what caused the confusion
Re: Confused about service_template applying or not
Thanks for sticking with me. You can close the ticket.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Confused about service_template applying or not
Great!proxibid wrote:Thanks for sticking with me. You can close the ticket.
Locking