Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-282

Sensors data is incorrectly reading from procfs instead of sysfs on newer Linux kernels.

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.2
    • 1.4, 1.4.1, 1.4.2, 1.4.3
    • Agent (G)
    • Linux x86

      After seeing this (http://www.zabbix.com/forum/showthread.php?t=6279) post in the forums I decided to check it out a bit further. It appears as if sensors.c is still using the old procfs interface to get things like CPU & M/B temperature readings. Linux has been moving away from the procfs interface (at least for this data) for quite a while and is now focused on using sysfs. Sysfs provides a much cleaner, more defined interface and allows for one "file" per device.

      There is a work around for this problem as high-lighted in this forum post (http://www.zabbix.com/forum/showthread.php?t=2508), but it's not clean and forces users to go searching for a solution to a problem that really shouldn't exist.

        1. linux-2.6.x-sensors.patch
          2 kB
          Trever L. Adams
        2. linux-2.6.x-sensors.patch
          2 kB
          Trever L. Adams
        3. linux-newer-kernel-sensors.patch
          5 kB
          Trever L. Adams
        4. linux-newer-kernel-sensors.patch
          4 kB
          Trever L. Adams
        5. zabbix_1.6.2_sensor.patch
          4 kB
          Trever L. Adams
        6. zabbix_1.6.2_sensor.patch
          4 kB
          Alexandru Ticlea
        7. zabbix-newer-linux-kernel-sensors.patch
          6 kB
          Trever L. Adams
        8. zabbix-newer-linux-kernel-sensors.patch
          6 kB
          Trever L. Adams
        9. zabbix-newer-linux-kernel-sensors.patch
          5 kB
          Trever L. Adams
        10. zabbix-newer-linux-kernel-sensors.patch
          5 kB
          Trever L. Adams

            Unassigned Unassigned
            rnhurt Richard Hurt
            Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: