Ad Widget

Collapse

item system.hw.chassis[vendor] [m|ZBX_NOTSUPPORTED]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dogeoffr
    Junior Member
    • Sep 2016
    • 3

    #1

    item system.hw.chassis[vendor] [m|ZBX_NOTSUPPORTED]

    Hello,

    sorry if this has been covered before but i have not found a working solution in older posts.

    in our agent conf file we do have AllowRoot=1 and when running dmidecode we do get system informations.

    Any suggestions?

    Thank you!


    # zabbix_agentd -f -t system.hw.chassis[vendor]
    system.hw.chassis[vendor] [m|ZBX_NOTSUPPORTED] [Cannot obtain hardware information.]


    #dmidecode -q
    ...
    Base Board Information
    Manufacturer: HP
    Product Name: ProLiant DL360 Gen9
    Version: Not Specified
    Serial Number: ...

    Chassis Information
    Manufacturer: HP
    Type: Rack Mount Chassis
    Lock: ...
  • Colttt
    Senior Member
    Zabbix Certified Specialist
    • Mar 2009
    • 878

    #2
    run zabbix-agent as root? that is necessary for this!
    Debian-User

    Sorry for my bad english

    Comment

    • dogeoffr
      Junior Member
      • Sep 2016
      • 3

      #3
      Thank you for replying, to answer your question, yes we are running the agent as root.


      Zabbix dev already identified the issue ->

      It should be related to this:

      /dev/mem protection

      Some applications (Xorg) need direct access to the physical memory from user-space. The special file /dev/mem exists to provide this access. In the past, it was possible to view and change kernel memory from this file if an attacker had root access.

      The CONFIG_STRICT_DEVMEM kernel option was introduced to block non-device memory access (originally named CONFIG_NONPROMISC_DEVMEM).



      I believe they have a fix already accessing the info through an alternate target.

      Thank you!

      Comment

      • bigsmog88
        Junior Member
        • Jul 2021
        • 1

        #4
        Good afternoon, I have the same problem, system.hw.chassis does not work zabbix_get gives an answer ZBX_NOTSUPPORTED: Cannot obtain hardware information.. At the same time, demidecode normally shows information. zabbiks_get run on behalf of the root.

        Comment

        Working...