Ad Widget

Collapse

Low Level Discovery - Interface IP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • max.
    Member
    Zabbix Certified Specialist
    • Apr 2022
    • 40

    #16
    Hello,

    Now generate more prototype items, for example:

    Description:
    Name: Interface description {#SNMPINDEX}
    Type: SNMP Agent
    Key: ifDescrStatus[{#INT}]
    OID: IF-MIB::ifDescr.{#INT}

    Name:
    Name: Interface name {#SNMPINDEX}
    Type: SNMP Agent
    Key: ifName[{#INT}]
    OID: IF-MIB::ifName.{#INT}

    Also, the discovered interfaces already have an ip address sice you used IP-MIB to run the discovery, and it reflects in the item names with the macro {#SNMPINDEX} as it shows the ip address associated with the interface.

    Regards

    Comment

    • felipemvieira
      Junior Member
      • Feb 2025
      • 1

      #17
      Hello.

      I have write a Python Script to resolve this problem. I am not a python expert scripter =) you are free to improve the code

      Just need to configure a LLD with external check, using the parameters
      Code:
      "-h", "{HOST.CONN}", "-c", "{$SNMP_COMMUNITY}"
      Click image for larger version

Name:	image.png
Views:	109
Size:	5.9 KB
ID:	498671

      Comment

      Working...