-
Type:
New Feature Request
-
Resolution: Fixed
-
Priority:
Major
-
None
-
Affects Version/s: None
-
Component/s: Frontend (F)
-
None
-
Environment:Zabbix 1.6.7 on CentOS 5.2
The same way that the feature is present for a new monitoring item of a "Database Monitor" type (Additional parameters), I'd like to have the ability to set parameters for monitoring items for Zabbix agent (active or not) type. I've created a template named TemplateMSSQLServer2005 that contains some items with keys like service_state[MSSQLSERVER]. In may case, the problem is that some hosts, linked to this template, have MSSQL with instances renamed to other than the default (MSSQLSERVER$DISTRO, for instance), causing the item to fail.
I know that an alternative would be to set a custom key like mssql.service.state in my template and set specific parameters in agent config file (UserParameter), but in an environment with dozens of hosts monitored, the deploy of this solution would spend very much time and very much information would be out of the server box (decentralized configuration).
In my opinion, it would be a better solution to set the template above with items like service_state[$var1]. I would be able to set both template and host parameters. Item's parameters of a template would be inherited from hosts associated with the template, naturally. But then I could access one of these hosts and set a specific value for $var1. A centralized and faster solution to deploy all the hosts that would be associated with the template.