Ad Widget

Collapse

system.hw.devices[usb] key gives "Unsupported item key."

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AclyssylcA
    Junior Member
    • Oct 2021
    • 2

    #1

    system.hw.devices[usb] key gives "Unsupported item key."

    Hallo everyone,


    When trying to configure a new Item that will check status of USB device on Windows machines, I get "Unsupported item key." msg in return.

    The defined key value was based on official instructions from:https://www.zabbix.com/documentation...osts/inventory

    The key used was: system.hw.devices[usb]

    It seems like this key
    • system.hw.devices[pci|usb] - default is [pci]
    is not supported at all anymore???!!!


    Anybody has any idea what could be wrong here?
    I'm having Zabbix 5.0.16 running in my environment.


    Thanks and best regards!!!
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #2
    "system.hw.devices" key by Zabbix Agent is only supported by Windows and Linux 2.4, according to current documentation.

    Still, I can query newer Linux hosts with this key using Zabbix Get.

    Code:
    $ uname -a
    Linux ... 5.10.63-v8+ #1488 SMP PREEMPT Thu Nov 18 16:16:16 GMT 2021 aarch64 GNU/Linux
    $ zabbix_get -s [hostname] -k system.hw.devices[usb]
    Bus 002 Device 002: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Usually "Unsupported item key" pop up shows some error message.
    Your Server/Proxy must have log information as well. You should check that.
    Last edited by markfree; 31-01-2022, 20:07.

    Comment

    • felipesorz
      Junior Member
      • Jul 2023
      • 24

      #3
      Good morning.
      Any answers? I'm trying to get results from possible pendrivers, hd, etc...
      Zabbix 6.4.15 = Ubuntu 22
      Desktops Windows

      Comment


      • markfree
        markfree commented
        Editing a comment
        Are you also getting unsupported item key? Have you checked the logs?

      • felipesorz
        felipesorz commented
        Editing a comment
        I didn't look for it because I needed it urgently, so I did it through Kaspersky's policies, which sends me a message every time a device that uses a USB input bus is connected or activated.
    Working...