Host template not applying to additional onboarded hosts
Host template not applying to additional onboarded hosts
When making a host template and then applying the host template changes to the new host, the host settings would not change? Is this the intended use of the host template? If not, how would I do an application of host settings to multiples hosts?
Re: Host template not applying to additional onboarded hosts
Yes, I believe that changes made to a host template should also be made to the objects using that template.
However, some variables override others. To see exactly what is happening, I may have to take a look at your entire configuration.
You may want to take a close look at our document about inheritance for a more detailed explanation of how this works.
Object Inheritance With Templates
If you want me to take a look at your configuration, then please send me your system profile. You can download the profile by navigating to System Profile under System Config on the left pane > and clicking the Download Profile button on that page.
Code: Select all
locally defined variables override variables that would normally be inherited from a template objectYou may want to take a close look at our document about inheritance for a more detailed explanation of how this works.
Object Inheritance With Templates
If you want me to take a look at your configuration, then please send me your system profile. You can download the profile by navigating to System Profile under System Config on the left pane > and clicking the Download Profile button on that page.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Host template not applying to additional onboarded hosts
I had pm'ed you the profile but wasnt able to post to this post at the same time. Were you able to get it ?
Re: Host template not applying to additional onboarded hosts
Yes, I received the profile. Thank you for sending that.
Which host are you trying to apply the template to?
I see from your configuration that you are using the Wizards to set this up. It is possible that the template from the Wizard is overwriting the other one that you want to apply. One way to get around this would be to use the Bulk Modification Tool instead. The other way would be to change the precedence of the templates so that the correct attributes are applied to the object.
Bulk Modification Tool
Which host are you trying to apply the template to?
I see from your configuration that you are using the Wizards to set this up. It is possible that the template from the Wizard is overwriting the other one that you want to apply. One way to get around this would be to use the Bulk Modification Tool instead. The other way would be to change the precedence of the templates so that the correct attributes are applied to the object.
Bulk Modification Tool
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Host template not applying to additional onboarded hosts
Hello,
I was applying a modified version of passive to Lab 03 but did not take the additional settings inside the host itself. The bulk modification tools is available to the enterprise version of XI only and do not have access to that. Should applying a host template to a host change the settings within a host?
I was applying a modified version of passive to Lab 03 but did not take the additional settings inside the host itself. The bulk modification tools is available to the enterprise version of XI only and do not have access to that. Should applying a host template to a host change the settings within a host?
Re: Host template not applying to additional onboarded hosts
Yes, hosts inherit configuration from the templates applied to them. The document linked below explains exactly how this relationship works.
Object Inheritance With Templates
Another thing to keep in mind is that some configurations take precedence over others, meaning that some can overrule or overwrite others. That may be the source of our confusion here. Keep in mind that the Wizard applies its own template, and settings can be overwritten by local ones.
Have a look in the following folder to see exactly how the configuration exists in XI.
Once the new configuration has been applied, the objects.cache file will show the final settings from the templates. This is helpful for troubleshooting.
Object Inheritance With Templates
Another thing to keep in mind is that some configurations take precedence over others, meaning that some can overrule or overwrite others. That may be the source of our confusion here. Keep in mind that the Wizard applies its own template, and settings can be overwritten by local ones.
Have a look in the following folder to see exactly how the configuration exists in XI.
Code: Select all
/usr/local/nagios/etcCode: Select all
/usr/local/nagios/var/objects.cache
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!