Ad Widget

Collapse

Sum of item values in custom graph.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gcharot
    Junior Member
    • Feb 2013
    • 10

    #1

    Sum of item values in custom graph.

    Hello All,

    Is it possible to have the sum of all item's values over a period of time ?

    For example, I have a NFS server graph showing create,delete,etc RPC calls.

    The values are received every minutes and stored as delta.

    So during one hour I have 60 values (per item).

    How can i know the sum of all item's values during this hour (sum of 60 values).

    The real question would be :
    How can i know how many files were created or deleted during last hour or last week ?

    I only have the min/max/avg values only.

    Thanks a lot !
    Greg
  • Heilig
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2013
    • 366

    #2
    You should create calculated item with function sum.

    Comment

    • gcharot
      Junior Member
      • Feb 2013
      • 10

      #3
      Hello,

      Thanks for the reply, i thought about that but the sum function has a fixed static period am i wrong ?

      I want to be able to have a dynamic sum : last hour,last day or between 8am and 7pm.

      So the best solution would be to have the value in the graphs where you can define dynamic time period.

      Is it possible to do so ?

      Thanks !

      Comment

      • Heilig
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Mar 2013
        • 366

        #4
        Without editing code, you can not do it.
        But as an option, you can create multiple items that will be displayed sum of values ​​for the last hour, day, etc. Or you can use zabbix database as a source of information for external utility.
        Additionally, you can create new feature request in ZABBIX FEATURE REQUESTS project (after checking through the search, that there is no such requests).

        Comment

        • gcharot
          Junior Member
          • Feb 2013
          • 10

          #5
          Thanks for your help !

          I'll post a feature request.

          Comment

          Working...