Ad Widget

Collapse

Zabbix 6.0.19: weird units shown in graphs (GGB, MGB, TGB etc)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • paxas
    Junior Member
    • Jan 2024
    • 13

    #1

    Zabbix 6.0.19: weird units shown in graphs (GGB, MGB, TGB etc)

    I created a new host by cloning an existing one. Then I cloned Items and Graphs.

    I verified that the newly created host's (target host) Item keys correctly point to the correct host (not to the source host).

    Now i noticed that the target host's graphs display weird units like MGB, GGB or TGB. For example, the total capacity of a server's C: disk is 471GB, but in Zabbix graph it is shown as 506GGB.

    Initially in the Item configuration's Unit field there was a value "B" (i think it's for bytes). Since i want to see gigabytes, i edited it to "GB". But apparently it is a wrong way to do it? Please advise.

    I would add some printscreens but getting errors when trying to do it
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    yes... leave it as B (as is you data in B...) and let Zabbix do the automatic conversion to G-s, T-s etc..
    Units If a unit symbol is set, Zabbix will add postprocessing to the received value and display it with the set unit postfix.
    By default, if the raw value exceeds 1000, it is divided by 1000 and displayed accordingly. For example, if you set bps and receive a value of 881764, it will be displayed as 881.76 Kbps.
    The JEDEC memory standard is used for processing B (byte), Bps (bytes per second) units, which are divided by 1024. Thus, if units are set to B or Bps Zabbix will display:
    1 as 1B/1Bps
    1024 as 1KB/1KBps
    1536 as 1.5KB/1.5KBps
    Special processing is used if the following time-related units are used:
    unixtime - translated to "yyyy.mm.dd hh:mm:ss". To translate correctly, the received value must be a Numeric (unsigned) type of information.
    uptime - translated to "hh:mm:ss" or "N days, hh:mm:ss"
    For example, if you receive the value as 881764 (seconds), it will be displayed as "10 days, 04:56:04"
    s - translated to "yyy mmm ddd hhh mmm sss ms"; parameter is treated as number of seconds.
    For example, if you receive the value as 881764 (seconds), it will be displayed as "10d 4h 56m"
    Only 3 upper major units are shown, like "1m 15d 5h" or "2h 4m 46s". If there are no days to display, only two levels are displayed - "1m 5h" (no minutes, seconds or milliseconds are shown). Will be translated to "< 1 ms" if the value is less than 0.001.
    Note that if a unit is prefixed with !, then no unit prefixes/processing is applied to item values. See unit conversion.

    Comment

    Working...