bulk import using templates

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
venkitesh
Posts: 67
Joined: Tue Jan 27, 2015 12:34 am

bulk import using templates

Post by venkitesh »

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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: bulk import using templates

Post by abrist »

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.
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.
venkitesh
Posts: 67
Joined: Tue Jan 27, 2015 12:34 am

Re: bulk import using templates

Post by venkitesh »

hi abrist,

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

Post by scottwilkerson »

venkitesh wrote:hi abrist,

Thanks for the reply.

is it possible to create the service check definitions through gui..

venki
You can do all of this in the CCM
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked