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 helpsAdam0
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 helpsAdam0 -
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.
ThanksAdam0 -
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
- 347 Beta Program
- 2.1K Nebula
- 115 Nebula Ideas
- 77 Nebula Status and Incidents
- 5K Security
- 44 USG FLEX H Series
- 246 Security Ideas
- 1.2K Switch
- 64 Switch Ideas
- 900 WirelessLAN
- 33 WLAN Ideas
- 5.8K Consumer Product
- 204 Service & License
- 326 News and Release
- 71 Security Advisories
- 21 Education Center
- 5 [Campaign] Zyxel Network Detective
- 1.8K FAQ
- 832 Nebula FAQ
- 401 Security FAQ
- 219 Switch FAQ
- 190 WirelessLAN FAQ
- 45 Consumer Product FAQ
- 136 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 71 About Community
- 61 Security Highlight