[ZBX-16375] Problems with recalculation value kb > Gb kbps > Gbps Created: 2019 Jul 15  Updated: 2019 Jul 15  Resolved: 2019 Jul 15

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 4.0.9
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: Rustam Aleksenko Assignee: Zabbix Support Team
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Centos 7.5
MariaDB 10.3.16


Attachments: PNG File 1.PNG     PNG File 2.PNG     PNG File 3.PNG     PNG File 4.PNG    

 Description   

Steps to reproduce:

  1. create host > item > select type "SNMP v2 agent" / Key&OID  hrStorageSize.1&.1.3.6.1.2.1.25.2.3.1.5.1 / Unit = kb. Screen = 1
  2. Go to Monitoring > Latest data  select host and our item.
    The result is  4Mkb  Screen = 2
  3. In fact we have value
    snmpwalk -v 2c -c public 10.110.2.46 1.3.6.1.2.1.25.2.3.1.5.1
    HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 4040024 (4GB RAM)
  4. If change Unit = Kb to b/Gb  or another it willbe seen like Mb / MMb / MGb

The same problem with network interfaces

Screen = 3-4

 



 Comments   
Comment by Rustam Aleksenko [ 2019 Jul 15 ]

Zabbix server version 4.0.4

Comment by Edgar Akhmetshin [ 2019 Jul 15 ]

Hello Rustam,

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.
Special processing is used for B (byte), Bps (bytes per second) units, which are divided by 1024. Thus, if units are set to B or Bps Zabbix will display KB, MB, GB, etc...

Yours value is in KB, you need to use custom multiplier preprocessing step with 1024 value and set units to B.

Please be advised that this section of the tracker is for bug reports only. The case you have submitted can not be qualified as one, so please reach out to [email protected] for commercial support or consultancy services. Alternatively, you can also use our IRC channel or community forum (https://www.zabbix.com/forum) for assistance. With that said, we are closing this ticket. Thank you for understanding.

Regards,
Edgar

Generated at Thu Jun 12 13:06:55 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.