I am trying to understand the best way to modify this templates trigger expression to only fire if the duration is longer than 5 minutes.
Would this work?
Also, regarding templates, once a template is applied to a host with discovery rules and creates triggers and items etc.. how do you best modify all the hosts using that template for various changes like changing a triggers severity for example?
So if Template_1 is applied to Host_1 and Host_2 and the discovery creates a trigger with a severity of Disaster on each host, is the only way to modify that severity to do it on each individual host? If so, how do you manage various changes at the template level and have the hosts apply those changes in mass?
Unless I am missing something it feels like a template just generates the items and triggers on initial discovery and then the hosts need to be managed individually, which doesn't seem very friendly with a large number of hosts?
Code:
last(/Template DB MSSQL by ODBC/net.tcp.service[tcp,{HOST.CONN},{$MSSQL.PORT}])=0
Code:
last(/Template DB MSSQL by ODBC/net.tcp.service,5m[tcp,{HOST.CONN},{$MSSQL.PORT}])=0
So if Template_1 is applied to Host_1 and Host_2 and the discovery creates a trigger with a severity of Disaster on each host, is the only way to modify that severity to do it on each individual host? If so, how do you manage various changes at the template level and have the hosts apply those changes in mass?
Unless I am missing something it feels like a template just generates the items and triggers on initial discovery and then the hosts need to be managed individually, which doesn't seem very friendly with a large number of hosts?
.
Comment