Page 1 of 1

questions about templates

Posted: Wed Jul 27, 2016 2:20 pm
by caterpillartce
Hello,

Question 1 - If I have multiple Windows servers and would like them to have the same monitoring services, should I

1. create a host group
2. create service templates
3. in each service template, "Manage Hostgroups" to assign the host group created in 1
4. add all my servers to the host group created in 1

Question 2 - when I added a new Windows server as a host, and in "Manage Templates" on the Host management / Common Settings page, I assigned a host template. Shouldn't the new host inherit all the settings from that host template, such as "check command" and arguments? It didn't work that way.

Thanks!

Jessica Zhang
Product Engineering Solutions
Caterpillar Inc.
Email: [email protected]

Re: questions about templates

Posted: Wed Jul 27, 2016 3:23 pm
by rkennedy
You will actually want to create services, and not service templates. Assign the services to the hostgroup, and not a specific host. You'll also want to create a host template, and assign it to the hostgroup. Then, whenever you add a new host, all you need to do is assign the host template. Alternatively, you could assign a template AND a host group, but this helps lessen the steps by 1. :-)

Yes, it will inherit all of the arguments and check_command defined in the service that is assigned to the hostgroup.

I wrote a document about exactly this topic. I'll PM it to you as it's not official yet -- let us know if you have further questions.

Re: questions about templates

Posted: Thu Jul 28, 2016 3:52 am
by spurrellian
@rkennedy - Would I be able to have a copy of this?

I'm currently re-evaluation my windows hosts setup and looking at templates again

Thanks

Re: questions about templates

Posted: Thu Jul 28, 2016 11:10 am
by mcapra
@spurrellian he's out of the office today, but i'll be sure to let him know you're interested in the document.

Re: questions about templates

Posted: Wed Sep 07, 2016 9:45 am
by eloyd
Ping! Old topic alert. This topic hasn't been closed or responded to in almost FIVE WEEKS! :-)

Re: questions about templates

Posted: Wed Sep 07, 2016 9:48 am
by tmcdonald
eloyd wrote:Ping! Old topic alert. This topic hasn't been closed or responded to in almost a year.
I'm sorry? This thread is only about a month old.

Re: questions about templates

Posted: Wed Sep 07, 2016 9:52 am
by eloyd
Doh! My brain saw someone's join date accidentally as the last post date. Sorry. At any rate, it's on the radar again, at least. :-)

Re: questions about templates

Posted: Wed Sep 07, 2016 9:53 am
by rkennedy
eloyd wrote:Doh! My brain saw someone's join date accidentally as the last post date. Sorry. At any rate, it's on the radar again, at least. :-)
No need, it was taken care of already, I just didn't post back to this thread.

Locking this thread to Eric proof it.