Host Template doesn't apply, or I can't see the changes
Posted: Thu Dec 11, 2014 4:59 pm
Hello,
I have 20+ hosts, with more to come, that I'd like to start off with a host template. These hosts run the same service checks, ~18 checks, but they need to have different thresholds per host. I've configured the check commands to use custom values set in Free Variable Definitions for their threshold settings, and they work as I need. What I need now is to populate these Check/Alert/Free Variable Definitions to newly created hosts.
I've created a Host template with the check command, alert settings, and Free Variable Definitions that I'd like propagated across these new hosts. My problem is that I'm unable to see any of these settings in a newly created host. Either the template is not applied, or I don't know where to look.
Procedure:
1. Go to CCM
2. Go to Hosts
3. Go to "Add New"
4. Populate "Host Name" and "Address"
5. Go to "Manage Templates"
6. Assign my custom template. There are no other templates assigned at this point.
7. Click "Close" to continue
8. Click "Save"
9. Open the host from CCM->Hosts->Newly Created Host
10. Check Command, Check Settings, Alert Settings, and Free Variable Definitions are the same as if I'd chosen a default template.
I also tried assigning the template to the Host Groups that these host will be a part of, but I was left with the same default settings.
Current Setup:
CentOS5-32 Bit running under Hyper-V
Nagios 2012R2.7
Any assistance you can provide would be appreciated!
I have 20+ hosts, with more to come, that I'd like to start off with a host template. These hosts run the same service checks, ~18 checks, but they need to have different thresholds per host. I've configured the check commands to use custom values set in Free Variable Definitions for their threshold settings, and they work as I need. What I need now is to populate these Check/Alert/Free Variable Definitions to newly created hosts.
I've created a Host template with the check command, alert settings, and Free Variable Definitions that I'd like propagated across these new hosts. My problem is that I'm unable to see any of these settings in a newly created host. Either the template is not applied, or I don't know where to look.
Procedure:
1. Go to CCM
2. Go to Hosts
3. Go to "Add New"
4. Populate "Host Name" and "Address"
5. Go to "Manage Templates"
6. Assign my custom template. There are no other templates assigned at this point.
7. Click "Close" to continue
8. Click "Save"
9. Open the host from CCM->Hosts->Newly Created Host
10. Check Command, Check Settings, Alert Settings, and Free Variable Definitions are the same as if I'd chosen a default template.
I also tried assigning the template to the Host Groups that these host will be a part of, but I was left with the same default settings.
Current Setup:
CentOS5-32 Bit running under Hyper-V
Nagios 2012R2.7
Any assistance you can provide would be appreciated!