Ad Widget

Collapse

Extracting attributes/tags from the interface alias name?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aseques
    Member
    • May 2019
    • 40

    #1

    Extracting attributes/tags from the interface alias name?

    I am very interested into teaching my zabbix setup to diferentiate the interfaces on my cisco switches into user interfaces and server interfaces, basically I would like to get 24/7 alerts on the important interfaces while only monitoring and data collection from the user interfaces.
    After asking on stackoverflow a user told me that I could use the description to add some information on interface type (https://networkengineering.stackexch...ystem-via-snmp)

    So my idea would be:
    • Add some description to the interfaces (such as server / user)
    • Add the logic into zabbix to parse this description
    • Modify the alert system to consider user ports non important
    Any help is appreciated.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Using SNMP? Assume that VIP or USER labels are added to the interface descriptions on the router. Create two LLD rules. Both SNMP OID discovery[{#SNMPVALUE},IF-MIB::ifDescr,{#LABEL},OID_TO_DATE_WITH_LABEL] . and use "Filters" ({#LABEL} matches "^.*VIP.*$" for example) to select only the necessary interfaces

    Comment

    Working...