Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-8072

Simple But Powerful Additions to Vector Graph Widget

    XMLWordPrintable

Details

    • New Feature Request
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • 6.0.9, 6.2.3, 6.4.0beta2
    • None
    • Frontend (F)
    • None

    Description

      The vector graph widget could benefit from a few simple, but powerful improvements:

       

      1. An aggregation function of 'sum of the average' or 'sumOfAvg'
      2. Custom Labels for aggregated datasets

       

      Currently, the sum and avg aggregations do not work correctly when aggregating multiple items that are already stored as rates in Zabbix. For example, network bandwidth in bps (bits per sec) or pps (packets per sec). When attempting to get the sum of multiple items together in this way, the calculation always adds a multiplier of the "num" of data points collected in the sql command within the PHP, which presents an incorrect data rate when trends is used as the data source. Adding a 'sumOfAvg' aggregation would sum the multiple datasets together like in AGGREGATION_SUM, but not add the "num" multipler or group by to provide a correct data rate for any chosen aggregation interval.

       

      Additionally, when aggregating multiple data points in the vector graph the generic "Dataset #<NUM>" label can be confusing. Adding a new field called "Custom Label" would enhance the clarity on the graph tooltip to provide a more meaningful description of what is in the dataset especially when you have multiple dataset aggregations on one graph. Again, using network bandwidth as an example, if I aggregated all input bps data points, currently the label would be Dataset #1, and if i added another aggregated dataset for output bps it would be Dataset #2. It would be great if there was an extra text field to override those labels entirely. My preference would be that the custom label overrides the aggregation function and the "Dataset #1" label completely. For example:

      "sumOfAvg(Dataset #1)" would be customizable to: "Ingest Bit Rate".

       

      It looks like these features could be added pretty easily to the existing PHP code for versions 6.x, and would greatly improve the already great vector graph.

      Attachments

        Activity

          People

            vmurzins Valdis Murzins
            GRyan337 Ryan Eberly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: