Ad Widget

Collapse

Macro for host in calculated item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iaono
    Junior Member
    • May 2012
    • 11

    #1

    Macro for host in calculated item

    Hi All,

    Anyone know of a way to have a macro defined host in the item field of a function on Zabbix 1.8.10?


    I have a calculated item that has the following:

    Code:
    min({$CLUSTER}n70:proxy.check, 600) = 1

    The item ignores my host definition because it contains a macro and tries to add it's own. I get the following error.

    Code:
      8968:20121210:191319.670 item [c97n54:node.status2] became not supported: Cannot evaluate function [min( 600)]: item [c97n54:{$CLUSTER}n70:proxy.check] not found

    Any ideas on how I can accomplish this?
    Last edited by iaono; 11-12-2012, 03:40.
  • iaono
    Junior Member
    • May 2012
    • 11

    #2
    For now, I'm going to use grpsum on proxy.check instead of min since there will only be one host in the cluster with the proxy.check item.

    I'm still curious if macroing the host on items is possible though.

    Comment

    Working...