Page 1 of 1

Host template setting not applied to host group members

Posted: Wed Oct 15, 2014 8:53 am
by mikemontreal
Host template setting are not applied to host group members

I have tried using host group "+" and "Standard"
testtemplate added--> hostgrouptest <-- testhost
I get the following error on Apply
Error: Invalid max_check_attempts value for host 'test'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/test.cfg', starting on line 16)

Note:In template I have Max check attempts set to 1
The only work around is applying testtemplate directly to host
Version - Nagios XI 2014R1.5

Re: Host template setting not applied to host group members

Posted: Wed Oct 15, 2014 9:00 am
by tmcdonald
Are you trying to apply a template to all hosts in a group? The hostgroup option in the host template will only add a host to the group if that host is using the template.

Re: Host template setting not applied to host group members

Posted: Wed Oct 15, 2014 11:35 am
by mikemontreal
I thought that was the case but wasn't sure.

Thanks for your knowledge and time