template inheritance
Posted: Tue Feb 26, 2013 4:52 pm
Nagios XI 2012R1.6
Please help me understand the functionality of the "+" "null" and "standard" options or otherwise how to selectively add to or override settings from templates. When I select "+" or "null", apply the configuration, and then return I find "standard" is selected again.
Example:
A host template defines contacts as "contact 1" and "contact 2". This template is specified for a list of hosts that have no contacts set under Alert Settings > Manage Contacts allowing "contact 1" and "contact 2" to be inherited from the template.
For some specific hosts we need to override the two contacts inherited from the template and only send notifications to "contact 3". That is what to expect if I add "contact 3" to a specific host config and leave the default radio button option of "standard" selected, correct?
Other specific hosts require notifications to go to "contact 3" in addition to the two contacts being inherited from the template. My guess would be that for such a host under Alert Settings > Manage Contacts I can mark the option "+" and then add "contact 3" as the one listing under Assigned. Should the "+" option be used for specifying an additional contact to those being inherited from the template?
After applying this change successfully, I return to the host config > Alert Settings > Manage Contacts. I find the Assigned column still shows "contact 3", however the "+" radio button is no longer marked and "standard" is marked instead. Which contacts should I expect these hosts notifications to go to? What is the purpose of the "+" or "null" options here and how do I get them to save?
Please help me understand the functionality of the "+" "null" and "standard" options or otherwise how to selectively add to or override settings from templates. When I select "+" or "null", apply the configuration, and then return I find "standard" is selected again.
Example:
A host template defines contacts as "contact 1" and "contact 2". This template is specified for a list of hosts that have no contacts set under Alert Settings > Manage Contacts allowing "contact 1" and "contact 2" to be inherited from the template.
For some specific hosts we need to override the two contacts inherited from the template and only send notifications to "contact 3". That is what to expect if I add "contact 3" to a specific host config and leave the default radio button option of "standard" selected, correct?
Other specific hosts require notifications to go to "contact 3" in addition to the two contacts being inherited from the template. My guess would be that for such a host under Alert Settings > Manage Contacts I can mark the option "+" and then add "contact 3" as the one listing under Assigned. Should the "+" option be used for specifying an additional contact to those being inherited from the template?
After applying this change successfully, I return to the host config > Alert Settings > Manage Contacts. I find the Assigned column still shows "contact 3", however the "+" radio button is no longer marked and "standard" is marked instead. Which contacts should I expect these hosts notifications to go to? What is the purpose of the "+" or "null" options here and how do I get them to save?