switch GS1920-24 snmp with ZABBIX: port current bandwidth usage
Hello everyone,
, but once IfOutOctet gets back to 0, delta outputs a wrong value because previous value is greater than current value.
Any help would be greatly appreciated
i am looking to monitor the current bandwidth usage on the GS1920-24 switch with Zabbix.
i have managed to get ifOutOctet & ifInOctet wich is an increasing sawtooth value ( when value reaches a max, value goes back to 0 and increases again ). I have managed to get the delta with the substraction of previous value, ex:
delta(ZyxelGS1920-24_V4:ifOutOctets.28, 10s)
delta(ZyxelGS1920-24_V4:ifOutOctets.28, 10s)
, but once IfOutOctet gets back to 0, delta outputs a wrong value because previous value is greater than current value.
Please see picture where delta is yellow diagram and ifOutOctet is red diagram:
there is obviously something i have missed, or
is there any other way i can get current bandwidth value ?
is there any other way i can get current bandwidth value ?
Any help would be greatly appreciated
Many thanks in advance
0
Accepted Solution
-
Hi @mimoune
Welcome to Zyxel Community.
Seems like you are using 32bit mib file to polling OID, so it causes display issue.
Please use the following OID to polling again and see if the result is expected to you.
Hope it helpsAdam
0
All Replies
-
Hi @mimoune
Welcome to Zyxel Community.
Seems like you are using 32bit mib file to polling OID, so it causes display issue.
Please use the following OID to polling again and see if the result is expected to you.
Hope it helpsAdam
0 -
Dear Adam
Sorry to answer so late.
Many thanks for your answer.
$ snmpwalk <Zyxel_GS1920-24_IP> -v 2c -c <My_Community> | grep HCInOctetIF-MIB::ifHCInOctets.1 = Counter64: 77531376$ snmpget -v 2c -c <My_Community> -On <Zyxel_GS1920-24_IP> ifHCInOctets.1.1.3.6.1.2.1.31.1.1.1.6.1 = Counter64: 77532889i used this OID as a new itm to get bandwidth but i still have the same sawtooth graph.
Best regards
0 -
@mimoune
Could you please provide us both the graph of delta and ifInOctet here and mouse hover to the peak of sawtooth graph to see the counter number?
If ifInOctet or ifOutOctet graph is normal but delta still has issue, it is more likely related to delta vaule itself.
You may refer to Zabbix fourm to search related post.
ThanksAdam
0 -
Hello @Zyxel_AdamSorry my bad.after redoing the calculus and doing some data transfer, it seems that bm metric is correct.
i tought ifHCOutOctet was a ready to use bandwidth metric.
the formula is : delta(ZyxelGS1920-24_V4:ifHCOutOctets.28, 1m)/60
Many thanks for your informations and patience
Best regards
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 277 USG FLEX H Series
- 277 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 395 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 75 Security Highlight