Ad Widget

Collapse

Calculated item error - Key does not exist

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smorilla
    Junior Member
    • Aug 2021
    • 3

    #1

    Calculated item error - Key does not exist

    Hi all,

    I have a trigger (built for testing purposes) that rises when a SNMP item is higher than a certain value:
    Click image for larger version

Name:	Trigger.png
Views:	271
Size:	56.7 KB
ID:	430527

    change(/SAT_Impresoras/mib-2.43.10.2.1.4.1.1)>2

    The trigger rises when change in printed pages in a printer is greater than 2. Not a real life problem, but this way I know the key is working and getting correct data.


    My problem is when I try to use the same key in a calculated item to have track of the number of pages printed in a month.
    I use the following calculated item

    Click image for larger version

Name:	Calculated.png
Views:	238
Size:	61.2 KB
ID:	430528
    The calculated item is created without errors but it gives an error in the Latest Data list

    I get the following error in the latest data list
    Cannot evaluate function: item "/SAT_Impresoras/mib-2.43.10.2.1.4.1.1" does not exist at "max(/SAT_Impresoras/mib-2.43.10.2.1.4.1.1,30d)-min(/SAT_Impresoras/mib-2.43.10.2.1.4.1.1,30d)".

    What am I doing wrong?

    Thanks
Working...