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

    Working...