Ad Widget

Collapse

Calculated items from calculated items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wilkocafre
    Junior Member
    • Jun 2014
    • 4

    #1

    Calculated items from calculated items

    Hi All,

    I have a problem creating calculated items from another ones.

    For example i have an item inside a host that is a calculated item from 2 differents existents SNMP items.

    When i create in a different host a different calculated item that try to calculate the same operation using 2 calculated items in a different host i obtain not supported tag with this message:

    "Cannot evaluate function [avg(0)]: item [SMS_Reference:last("Host1:CalculatedItem"] not found"

    In fact "Host1:CalculatedItem" is another calculated item inside another host and is working perfectly.

    Anyone knows how can i fix this problem?

    Thank you All.
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    Originally posted by wilkocafre
    "Cannot evaluate function [avg(0)]: item [SMS_Reference:last("Host1:CalculatedItem"] not found"
    Do you mind to check all brackets?
    In your example I see :
    - open square bracket (before SMS)
    - open round bracket (before "Host1)
    - closing square bracket (after CalculatedItem")

    It looks like you missed Closing Round Bracket before closing square bracket
    Sincerely yours,
    Aleksey

    Comment

    • wilkocafre
      Junior Member
      • Jun 2014
      • 4

      #3
      No, the formula is correctly writed in my item:

      last("Host1:Key",0)

      In fact, when i modified, i put a fast refresh time and is stuck sometimes with same error.
      Last edited by wilkocafre; 31-07-2014, 14:50.

      Comment

      Working...