Ad Widget

Collapse

Action with item value in macro

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gmichels
    Junior Member
    • Apr 2013
    • 19

    #1

    Action with item value in macro

    Hi all,

    Running Zabbix 2.0.6 and trying to perform the following action (value = WEBSERVER):

    Code:
    Item Value: {ITEM.VALUE1}
    
    Test 1: {{ITEM.VALUE1}:perf_counter[\Processor(_Total)\% Processor Time].avg(100m)}
    
    Test 2: {WEBSERVER:perf_counter[\Processor(_Total)\% Processor Time].avg(100m)}
    Which outputs:

    Code:
    Item Value: WEBSERVER
    
    Test 1: {WEBSERVER:perf_counter[\Processor(_Total)\% Processor Time].avg(100m)}
    
    Test 2: 30.24 %
    Why won't the first test evaluate the extra macro? Any ideas? Is it possible to achieve what I'd like?

    Thanks
Working...