Ad Widget

Collapse

Zabbix Graph "Kilo" Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lelouchvi
    Junior Member
    • Jan 2016
    • 5

    #1

    Zabbix Graph "Kilo" Problem

    I am using Zabbix 2.4 at the moment to monitor pressure sensor.

    Please, can anyone tell me how to get rid off K added to the hPa units. I do not want KhPa but seem unable to change this to as it should be, hPA! It adds K automatically and divides my value by 1000!
    Last edited by lelouchvi; 25-01-2016, 12:48.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    If you don't want add "K", Please try add 'hPa' to blackList in include/func.inc.php:function convert_units().

    If you want add "K" and divide by 1000, I think you must change function(include/func.inc.php:function convert_units()).

    Comment

    • lelouchvi
      Junior Member
      • Jan 2016
      • 5

      #3
      I cannot find this file (include/func.inc.php:function convert_units()).

      Could you write me the full path, please?

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        If you use package for RHEL or CentOS, that file is /usr/share/zabbix/include/func.inc.php.

        Comment

        • glebs.ivanovskis
          Senior Member
          • Jul 2015
          • 237

          #5
          As I understand hPa are hectopascals. Why don't you convert them to pascals (Pa) using multiplier 100 and let Zabbix convert them to kilopascals (kPa) and megapascals (MPa)?

          Comment

          Working...