Hello all,
We want to create multiple Tomcat discovery rules with same linked item / graph / trigger prototype. (item / graph / trigger use variables)
As we didn't know how to find dynamically port, we pass it to the discovery rule as expected below :
Discovery rule key :
tomcat.discovery[{HOST.NAME}, 8080]
Item Prototype key :
tomcat.memory[{HOST.NAME, {#PORT}]
PORT => information sent in JSON from discovery rule
It works when we duplicate discovery rule with another port but we lose linked prototype.
So we try to recreate prototype without success. (due to host / item restriction - as I understand key are used as primary key in database and can't have duplicate key)
In order to solve the problem - we've changed {#PORT} to 8080 : it's OK but we want to make it simpler.
Is it possible to have multiple discovery rules with "same item/graph/trigger ...." prototype ?
(We want to have agentless configuration files and use zabbix possibility)
Do you have some suggestion ?
Rgds
We want to create multiple Tomcat discovery rules with same linked item / graph / trigger prototype. (item / graph / trigger use variables)
As we didn't know how to find dynamically port, we pass it to the discovery rule as expected below :
Discovery rule key :
tomcat.discovery[{HOST.NAME}, 8080]
Item Prototype key :
tomcat.memory[{HOST.NAME, {#PORT}]
PORT => information sent in JSON from discovery rule
It works when we duplicate discovery rule with another port but we lose linked prototype.
So we try to recreate prototype without success. (due to host / item restriction - as I understand key are used as primary key in database and can't have duplicate key)
In order to solve the problem - we've changed {#PORT} to 8080 : it's OK but we want to make it simpler.
Is it possible to have multiple discovery rules with "same item/graph/trigger ...." prototype ?
(We want to have agentless configuration files and use zabbix possibility)
Do you have some suggestion ?
Rgds