Ad Widget

Collapse

Looking for a way to keep values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HarryKalahan
    Member
    • Jan 2014
    • 40

    #1

    Looking for a way to keep values

    Hi all,

    I'm using item calculated to obtain values calculated from energy equipment. I have to use units like kWh, CO2 Kg/m2, employees, ... (to obtain kWh/employee, and so on). I need to keep some of these units, because I'm obtaining values like 97.16 Khabitants instead of 97.165 habitants, or 1.67 MWh/hab instead 1067 Wh/hab, or 1.3 G€ intead 1.300.000.000€). We need to show this values correctly, because we need to expose this information to our customer.

    If this possible?

    Thank you very much for your support.

    Regards,

    Harry.
  • steveboyson
    Senior Member
    • Jul 2013
    • 582

    #2
    Best approach is to "normalize" all values to their native size (that is: without prefixes). Use the "custom multiplier" for that.

    So if you get your "raw" value in "kWh" define a multiplier of 1000 and specify "Wh" as the unit. Zabbix will the "autoprepend" the correct unit prefixes but you still have the original values in the database.

    For further reports you can define database queries which read the actual values from the DB.

    Comment

    Working...