Ad Widget

Collapse

SNMP Trap or Zabbix Agent to trigger when any USB is inserted to * machines?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • definity
    Junior Member
    • Sep 2021
    • 9

    #1

    SNMP Trap or Zabbix Agent to trigger when any USB is inserted to * machines?

    As a disclaimer I'm new to Zabbix so Im probably not doing this the correct way.

    So I have set up my agent.conf to be both Passive & Active so I can send request and also recive reponses. I have setup a UserParameter in which i call 'lsusb' I then have a python script filter the results just to send me the VendorID and DeviceID. I was going to store the data and then set a trigger to alert me when a new device is found but doing this has got me thinking whats the best way to set this up.

    Would a SNMP trap be quicker to notify me? or could I set Agent to notify me as soon as the device is plugged in? We are all using *nix machines and a few Windows, we are 90% *nix based.

    What would be the best way to set this up?

    Thanks.

    P.S I'm on Zabbix 5.4
  • definity
    Junior Member
    • Sep 2021
    • 9

    #2
    Shameless bump.
    Anyone know?

    Comment

    Working...