Ad Widget

Collapse

Monitor trunk port status in Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jlenoci
    Junior Member
    • Jan 2024
    • 25

    #1

    Monitor trunk port status in Zabbix



    Hello everyone, I wanted to ask if it is possible to add a description like (trunk_port) to the trunk ports of my switches, and have Zabbix read those values, show me only the ones with that description, and display the status when they go down...

    Basically, in my switches, I want to add a description to the ports I want to monitor, which will help Zabbix to only show those ports. The switches are from various brands, but the majority are from the provider HP.
  • bbonno
    Junior Member
    • Apr 2025
    • 22

    #2
    Sounds like something you can filter for in the preprocessing for whatever item you use to grab the data from your switches. If your data is in a JSON format, then a JSONPath preprocessing step makes short work of something like this.

    $.port[?(@.description == "trunk_port")]

    Comment

    • Glencoe
      Zabbix developer
      • Oct 2019
      • 152

      #3
      How do you gather the information from your switches? How do you create port items in Zabbix? SNMP with LLD?

      Comment

      Working...