Hi all, i have a question about a interface discovery of a my template that i use for my switches.
I want to monitor my swtiches and calculate the total traffic inbound and outbound
My interface discovery find well -> ifOutOctets[{#SNMPVALUE}] and ifInOctets[{#SNMPVALUE}]
so the template is correctly for find the total of each ports
I would create a calculate item for the total of each inbound ports or the total of each ports of the switch
If i create a item -> last("ifInOctets[{#SNMPVALUE}]")+last("ifOutOctets[{#SNMPVALUE}]") but is wrong
How i can do it?
I have a lot of switches, i can't do all in manual with an item (for example) :
last("ifHCInOctets[1/g1]")+last("ifHCInOctets[1/g2]")+last("ifHCInOctets[1/g3]")+last("ifHCInOctets[1/g4]")+last("ifHCInOctets[1/g5]")+last("ifHCInOctets[1/g6]")+last("ifHCInOctets[1/g7]")+last("ifHCInOctets[1/g8]")+last("ifHCInOctets[1/g9]")+last("ifHCInOctets[1/g10]")+last("ifHCInOctets[1/g11]")+last("ifHCInOctets[1/g12]")+last("ifHCInOctets[1/g13]")+last("ifHCInOctets[1/g14]")+last("ifHCInOctets[1/g15]")+last("ifHCInOctets[1/g16]")+last("ifHCInOctets[1/g17]")+last("ifHCInOctets[1/g18]")+last("ifHCInOctets[1/g19]")+last("ifHCInOctets[1/g20]")+last("ifHCInOctets[1/g21]")+last("ifHCInOctets[1/g22]")+last("ifHCInOctets[1/g23]")+last("ifHCInOctets[1/g24]")+last("ifHCInOctets[1/g25]")+last("ifHCInOctets[1/g26]")+last("ifHCInOctets[1/g27]")+last("ifHCInOctets[1/g28]")+last("ifHCInOctets[1/g29]")+last("ifHCInOctets[1/g30]")+last("ifHCInOctets[1/g31]")+last("ifHCInOctets[1/g32]")+last("ifHCInOctets[1/g33]")+last("ifHCInOctets[1/g34]")+last("ifHCInOctets[1/g35]")+last("ifHCInOctets[1/g36]")+last("ifHCInOctets[1/g37]")+last("ifHCInOctets[1/g38]")+last("ifHCInOctets[1/g39]")+last("ifHCInOctets[1/g40]")+last("ifHCInOctets[1/g41]")+last("ifHCInOctets[1/g42]")+last("ifHCInOctets[1/g43]")+last("ifHCInOctets[1/g44]")+last("ifHCInOctets[1/g45]")+last("ifHCInOctets[1/g46]")+last("ifHCInOctets[1/g47]")+last("ifHCInOctets[1/g48]")+last("ifHCInOctets[1/xg49]")+last("ifHCInOctets[1/xg50]")+last("ifHCInOctets[1/xg51]")+last("ifHCInOctets[1/xg52]")
This metod run, but if i use the template on a netgear,hpo,tplink,cisco ecc... the name of items change,
Anyone can help me?
Thanks all
(i use zabbix 3.2)
I want to monitor my swtiches and calculate the total traffic inbound and outbound
My interface discovery find well -> ifOutOctets[{#SNMPVALUE}] and ifInOctets[{#SNMPVALUE}]
so the template is correctly for find the total of each ports
I would create a calculate item for the total of each inbound ports or the total of each ports of the switch
If i create a item -> last("ifInOctets[{#SNMPVALUE}]")+last("ifOutOctets[{#SNMPVALUE}]") but is wrong
How i can do it?
I have a lot of switches, i can't do all in manual with an item (for example) :
last("ifHCInOctets[1/g1]")+last("ifHCInOctets[1/g2]")+last("ifHCInOctets[1/g3]")+last("ifHCInOctets[1/g4]")+last("ifHCInOctets[1/g5]")+last("ifHCInOctets[1/g6]")+last("ifHCInOctets[1/g7]")+last("ifHCInOctets[1/g8]")+last("ifHCInOctets[1/g9]")+last("ifHCInOctets[1/g10]")+last("ifHCInOctets[1/g11]")+last("ifHCInOctets[1/g12]")+last("ifHCInOctets[1/g13]")+last("ifHCInOctets[1/g14]")+last("ifHCInOctets[1/g15]")+last("ifHCInOctets[1/g16]")+last("ifHCInOctets[1/g17]")+last("ifHCInOctets[1/g18]")+last("ifHCInOctets[1/g19]")+last("ifHCInOctets[1/g20]")+last("ifHCInOctets[1/g21]")+last("ifHCInOctets[1/g22]")+last("ifHCInOctets[1/g23]")+last("ifHCInOctets[1/g24]")+last("ifHCInOctets[1/g25]")+last("ifHCInOctets[1/g26]")+last("ifHCInOctets[1/g27]")+last("ifHCInOctets[1/g28]")+last("ifHCInOctets[1/g29]")+last("ifHCInOctets[1/g30]")+last("ifHCInOctets[1/g31]")+last("ifHCInOctets[1/g32]")+last("ifHCInOctets[1/g33]")+last("ifHCInOctets[1/g34]")+last("ifHCInOctets[1/g35]")+last("ifHCInOctets[1/g36]")+last("ifHCInOctets[1/g37]")+last("ifHCInOctets[1/g38]")+last("ifHCInOctets[1/g39]")+last("ifHCInOctets[1/g40]")+last("ifHCInOctets[1/g41]")+last("ifHCInOctets[1/g42]")+last("ifHCInOctets[1/g43]")+last("ifHCInOctets[1/g44]")+last("ifHCInOctets[1/g45]")+last("ifHCInOctets[1/g46]")+last("ifHCInOctets[1/g47]")+last("ifHCInOctets[1/g48]")+last("ifHCInOctets[1/xg49]")+last("ifHCInOctets[1/xg50]")+last("ifHCInOctets[1/xg51]")+last("ifHCInOctets[1/xg52]")
This metod run, but if i use the template on a netgear,hpo,tplink,cisco ecc... the name of items change,
Anyone can help me?
Thanks all
(i use zabbix 3.2)
Comment