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

Add warning about 'type of information' and store value as 'delta (speed per second)'

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • None
    • Documentation (D)

      This morning I was debugging an issue with an item producing low values and flapping between 0 and 1, because I set

      'Type of information' -> 'Numeric (unsigned)'
      'Store value' -> 'Delta (speed per second)'

      and the actual item has very low, but integer values, where calculating it into speed per second was producing floats like 0,43, causing it to be stored as either a 0 or 1. The correct way to was to define this item with 'Numeric (float)'.

      It might be a good idea to make note of this in the documentation, because it might not be immediately obvious that the resulting calculation from speed per second might produce floats and floats below 1.

      An example:

      Note: As this calculation can produce floating point numbers, you'll most likely want the Type of information to be Numeric (float), even if the raw value is an integer.

            Unassigned Unassigned
            redshift Glenn Matthys
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: