Service Templates
Posted: Tue Sep 16, 2014 8:10 am
I am still trying to figure out how to get all the Nagios Core stuff into Nagios XI. I am now thinking of starting with a clean slate and create a couple default service templates and then using the bulk import tool assign the hosts to the right service template. Once that is done I can go in and add any additional monitoring.
So, with that being said how or what is the best method to create a service template for monitoring Windows hosts for CPU, RAM, C: and D: drives? Here is my scenario. We currently use IBM Endpoint Manager which I can pull out the hostname and IP address for all the non-production servers and production servers. Here is what I am thinking for the service templates:
Windows Host Groups
o Windows Prod
o Windows Non-Prod
Windows Non-Prod Group Configuration
o Monitor CPU Utilization, Memory Utilization, and Disk Space for C:\ and D:\
o Email between 6am and 6pm when Disk Space is below 5% free and don’t send a follow up email
o Do Not Notify about CPU and Memory Utilization
o Email immediately if the host is down
Windows Prod Group Configuration
o Monitor CPU Utilization, Memory Utilization, and Disk Space for C:\ and D:\
o Email between 6am and 6pm when Disk Space is below 5% free and don’t send a follow up email
o Do Not Notify about CPU and Memory Utilization
o Page immediately if the host is down
So, what I would like to do is import all the non-prod Windows servers and assign them to the service template for the non-prod group configuration and then import the production servers the same way. These servers will all have the NSClient++ installed as well.
I'll do something for the Linux servers but we have quite a bit more Windows servers than Linux. Is there a better, more efficient, best practice, way to do this import. What is the best way to create the service template? When I go to the CCM and select Service Templates | Add New I am not certain how I can add all the above checks to this single service template.
So, with that being said how or what is the best method to create a service template for monitoring Windows hosts for CPU, RAM, C: and D: drives? Here is my scenario. We currently use IBM Endpoint Manager which I can pull out the hostname and IP address for all the non-production servers and production servers. Here is what I am thinking for the service templates:
Windows Host Groups
o Windows Prod
o Windows Non-Prod
Windows Non-Prod Group Configuration
o Monitor CPU Utilization, Memory Utilization, and Disk Space for C:\ and D:\
o Email between 6am and 6pm when Disk Space is below 5% free and don’t send a follow up email
o Do Not Notify about CPU and Memory Utilization
o Email immediately if the host is down
Windows Prod Group Configuration
o Monitor CPU Utilization, Memory Utilization, and Disk Space for C:\ and D:\
o Email between 6am and 6pm when Disk Space is below 5% free and don’t send a follow up email
o Do Not Notify about CPU and Memory Utilization
o Page immediately if the host is down
So, what I would like to do is import all the non-prod Windows servers and assign them to the service template for the non-prod group configuration and then import the production servers the same way. These servers will all have the NSClient++ installed as well.
I'll do something for the Linux servers but we have quite a bit more Windows servers than Linux. Is there a better, more efficient, best practice, way to do this import. What is the best way to create the service template? When I go to the CCM and select Service Templates | Add New I am not certain how I can add all the above checks to this single service template.