Hello All,
I have a set of equipment that I need to dynamically link the correct templates to. All hosts will be added with one template containing an item which does an SNMP check to grab the model information. Then, based on the item value, I'd like to apply a model-specific template to each. Below is an example of what functionality I'm trying to achieve:
1.
Add hosts (5 different models of netwk switch) all linked with one generic template containing an itemX
2.
If itemX.val == "A" --> Link template A
If itemX.Val == "B" --> Link template B
If itemX.Val == "C" --> Link template C
I've looked into discovery rules with a discovery action to link templates, but I need control over which hosts are added/removed and when. And unfortunately, it appears that trigger event actions to not support template linking.
Any thoughts on how to accomplish the above?
Thanks in advance!
I have a set of equipment that I need to dynamically link the correct templates to. All hosts will be added with one template containing an item which does an SNMP check to grab the model information. Then, based on the item value, I'd like to apply a model-specific template to each. Below is an example of what functionality I'm trying to achieve:
1.
Add hosts (5 different models of netwk switch) all linked with one generic template containing an itemX
2.
If itemX.val == "A" --> Link template A
If itemX.Val == "B" --> Link template B
If itemX.Val == "C" --> Link template C
I've looked into discovery rules with a discovery action to link templates, but I need control over which hosts are added/removed and when. And unfortunately, it appears that trigger event actions to not support template linking.
Any thoughts on how to accomplish the above?
Thanks in advance!
Comment