Ad Widget

Collapse

Item units and Y axis unit display problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Singularity
    Member
    • Aug 2020
    • 81

    #1

    Item units and Y axis unit display problem

    I have an item ( Type of information : text ) which receives 5 different values each in MB
    I have 3 dependent items( Type of information : float ) each storing 1 value.
    My problem is if I apply a custom multiplier to convert MB to B and use item unit as B so that in the graph it gets auto-displayed as B, KB, MB, GB, however many times the pre-processed value is more than what zabbix allows in float item type range.

    For example
    item that store the string has value:
    Folder space 1(in MB) : 345
    Folder space 2(in MB) : 10282
    Folder space 3(in MB) : 1029471

    For the dependent items :
    To convert to Bytes I add a pre-processing of custom multiplier of value*1024*1024. Many times I get error that it is out of range.

    I can't use M in unit cause in the graph it then shows MM which should actually show TB.

Working...