-
Incident report
-
Resolution: Won't fix
-
Major
-
None
-
2.0.3
-
Windows agent
The item key has ")" cannot be used for calculated item. For example, there is performance counter item for windows:
perf_counter["\Network Interface(Intel[R] 82574L Gigabit Network Connection)\Packets Received/sec"]
and create calculated item use the key above:
last("perf_counter["\Network Interface(Intel[R] 82574L Gigabit Network Connection)\Packets Received/sec"]")*100
Web interface accept the calculated item, but the item will be error on Zabbix server side.
Here is debug log on zabbix_server.log
15752:20121025:021703.484 In get_value() key:'calculated.perf_counter' 15752:20121025:021703.484 In get_value_calculated() key:'calculated.perf_counter' expression:'last("perf_counter["\Network Interface(Intel[R] 82574L Gigabit Network Connection)\Packets Received/sec"]")*100' 15752:20121025:021703.484 In calcitem_parse_expression() expression:'last("perf_counter["\Network Interface(Intel[R] 82574L Gigabit Network Connection)\Packets Received/sec"]")*100' 15752:20121025:021703.484 calcitem_parse_expression() functionid:1 function:'last("perf_counter["\Network Interface(Intel[R] 82574L Gigabit Network Connection)' 15752:20121025:021703.484 calcitem_parse_expression() expression:'{1}\PacketsReceived/sec"]")*100' 15752:20121025:021703.484 In substitute_simple_macros() data:'{1}\PacketsReceived/sec"]")*100' 15752:20121025:021703.484 End substitute_simple_macros() data:'{1}\PacketsReceived/sec"]")*100'