Hello, I have a calculated Item in a Tomcat template called Avg Processing Time and it fails to work (Zabbix 2.2.9, java-gateway running against Tomcat 7). I think it’s because the multiple quoting in the formula, since the individual keys are working but the division of sums of the points over 300 seconds fails to retrieve any data:
The problem is that the items with a name containing non-alphanumeric characters need to be double-quoted to work, the bean request has another set of doublequotes around it, and the key has another set around that. How should the calculated item work, any ideas? It works fine BTW in earlier Tomcat versions which used a different naming convention that didn't require the quotes around the name value.
Code:
sum("jmx[\"Catalina:type=GlobalRequestProcessor,name=\"http-nio-8443\"\",\"processingTime\"]",300)/(sum("jmx[\"Catalina:type=GlobalRequestProcessor,name=\"http-nio-8443\"\",\"requestCount\"]",300)+0.001)


Comment