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!
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!

Comment