Ad Widget

Collapse

What to specify for Units for items whose values are in microseconds?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mislav
    Junior Member
    • Mar 2019
    • 4

    #1

    What to specify for Units for items whose values are in microseconds?

    When creating an item that will collect data whose values will be in microseconds, what should I specify in the Units field?

    I specified "µs" as the unit, but then I see the values displayed as "Kµs" when the values are more than 1000.

    My workaround at the moment is to use "s" (seconds) for Units and then apply pre-processing to convert the value from microseconds to seconds. This also requires changing the Type to Numeric (float).
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    If you do not want to convert 1000 to K, add a symbol(!) at the beginning of the units for Zabbix 4.0 or later.
    https://www.zabbix.com/documentation...fig/items/item

    ex.
    !µs

    Comment

    • mislav
      Junior Member
      • Mar 2019
      • 4

      #3
      Thank you Atsushi.

      Comment

      • kloczek
        Senior Member
        • Jun 2006
        • 1771

        #4
        Add custom multiplier * 1000000 and use seconds.
        http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
        https://kloczek.wordpress.com/
        zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
        My zabbix templates https://github.com/kloczek/zabbix-templates

        Comment

        Working...