Ad Widget

Collapse

zabbix auto discovery

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aliou
    Junior Member
    • Mar 2018
    • 2

    #1

    zabbix auto discovery

    Hello,

    i need to monitor the port traffic of about 15 switches.The port count ranges from 10 ports to 48 ports. On each switch the ports have names. With an snmpwalk i can see the ifInOctests, ifOutOctets and the ifDescr of each port.
    But i don`t know how to combine the ifDescr of a port with the corresponding ifInOctets. I can add an item for e.g. ifInOctets.1 and name it manually with the value i get from ifDescr.1 but this way i would have to add all ports manually!!! I was thinking about writing a script which does a snmpwalk over a host and then adds the items with the right name to the zabbix database, but this script needs to be executed everytime a port changes it`s name, which is just too often. What i really need is something like this:
    The possibility to have an item description which recieves it`s value from another item. This way i could create a template with ifDescr for each port and with ifInOctets, ifOutOctets for each port where the description is the value recieved from the corresponding ifDescr.
    the only solution right know seems to configure all ports manually
    can someone please correct me and point me to the right page of the manual ?
    PS: I've already seen zabbix possibility of using dynamic indexes, but this way i still would have to configure each port name and low level discovery (but i don't really understand how it functions).
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Zabbix has a function called LLD(Low-level discovery).
    With this, you can connect to each switch and automatically generate items for each port.

    Please also refer to the template.
    ex. Template SNMP Interfaces, Template Module Interfaces Simple SNMPv2

    Comment

    • aliou
      Junior Member
      • Mar 2018
      • 2

      #3
      Thanks for your reply
      Good morning, as you mentioned, i refered to the template snmp for creating automatically items and triggers.
      The problem is that my items prototypes and triggers prototypes don't create automatically the item and triggers i wanted to see. I wanted to know if there is something else i have to do in my server.

      Comment

      Working...