Ad Widget

Collapse

Best way of monitoring switches?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peterli
    Junior Member
    • Dec 2013
    • 8

    #1

    Best way of monitoring switches?

    Hello,

    i need to monitor the port traffic of about 30 Huawei S3300 switches. T 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!
    Last edited by peterli; 13-04-2014, 17:09.
  • Colttt
    Senior Member
    Zabbix Certified Specialist
    • Mar 2009
    • 878

    #2
    ehm did you try the Interface-Template??

    otherwise you can use LLD
    Debian-User

    Sorry for my bad english

    Comment

    • aib
      Senior Member
      • Jan 2014
      • 1615

      #3
      Originally posted by peterli
      i need to monitor the port traffic of about 30 Huawei S3300 switches. ....................
      can someone please correct me and point me to the right page of the manual ?
      The simplest way is to use "Template SNMP interfaces"
      It includes Discovery rule which automatically discover all interfaces and create 8 Items for each interface:
      - Admin status
      - Alias of interface
      - Description of interface
      - Operational status of interface
      - Incoming/Outgoing traffic
      - Incoming/Outgoing errors
      Also one trigger and one graph will be created for each interface.
      If you need some more triggers/graphs, you can easily include it into Template and after Discovery time they will be replicated for all discovered interfaces.

      Don't forget to write macros {$SNMP_COMMUNITY} with correct community in Host Macro tab.
      Sincerely yours,
      Aleksey

      Comment

      Working...