Hi Team,
please help me in fulfilling this requirement.
i need to create separate templates for Linux servers and windows servers which should monitor cpu memory and disk usage and alert has to go for all services.
And i need to add around 100 machines using this template, so what all settings and alerts i have configured in that template has to replicate in other machines also.
Please help in doing this as i am unable to find any such options in host or service templates.
bulk import using templates
Re: bulk import using templates
There are a few methods to do this, though I would suggest deploying a hostgroup with the template and then adding the hostgroup to the desired generic service checks.
1. Basically, create a hostgroup for these checks.
2. Then create the desired service check definitions and add the previously created hostgroup to those service checks (do not add any hosts to the service checks).
3. Create a template and add the hostgroup to the template.
4. Finally add the template to the desired hosts - they should now inherit the hostgroup from the template and subsequently the service checks associated with the hostgroup.
1. Basically, create a hostgroup for these checks.
2. Then create the desired service check definitions and add the previously created hostgroup to those service checks (do not add any hosts to the service checks).
3. Create a template and add the hostgroup to the template.
4. Finally add the template to the desired hosts - they should now inherit the hostgroup from the template and subsequently the service checks associated with the hostgroup.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: bulk import using templates
hi abrist,
Thanks for the reply.
is it possible to create the service check definitions through gui..
venki
Thanks for the reply.
is it possible to create the service check definitions through gui..
venki
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: bulk import using templates
You can do all of this in the CCMvenkitesh wrote:hi abrist,
Thanks for the reply.
is it possible to create the service check definitions through gui..
venki