Ad Widget

Collapse

Calculate duration based on item's value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dougbee
    Member
    • Apr 2011
    • 68

    #1

    Calculate duration based on item's value

    Hi all,

    Running Zabbix 5.4.6. I'm working on something to calculate a device's consumption (a boiler, in this case) based on the duration of an item being within a certain value range. Given the sample data in the attached graph, I know some ranges:

    State A is > 300 watts
    State B is around 175 watts
    State C is around 60 watts

    So in this case, I know that in State A, my burner is running and consuming oil. I'd like to create a calculated item based on the total time that the item is > 300 watts - be it for a day, week, month, year, etc.

    Any thoughts on how I can do that?

    Thanks so much!


    Attached Files
  • ik_zelf
    Member
    • Feb 2015
    • 60

    #2
    I guess you would also need to record the duration for a state. Together with the last(duration) you should be able to calculate the cost.

    Comment

    • IndustrialSystemsPro
      Junior Member
      • Jun 2026
      • 1

      #3
      Tracking the duration of each operating state is a practical approach for estimating actual consumption. Combining runtime data with power thresholds can provide much more accurate calculations over daily or monthly periods. Similar monitoring methods are often used when evaluating equipment performance and maintenance needs for components such as a Suction Oil Filter Element.


      Comment

      Working...