In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Zabbix server 4.0 monitors the Graphs of server or switch interface traffic on and off.
Questions such as screenshots:
1. There will be problems when drawing more than 200m [this is the case]; there are more than 400m and 700m on the Internet, it doesn't matter, the problem is the same.
Problem analysis:
1. The tools used are Getif and SNMPWALK
2.zabbix monitors the SNMP protocol used by the switch. The default monitoring template is:
IfInOctets OID:.1.3.6.1.2.1.2.2.1.10 [port receives traffic MIB information] ifOutOctets OID:.1.3.6.1.2.1.2.2.1.16 [port sends traffic MIB information]
Snmpwalk-v 2c-c public 172.184.2.4 1.3.6.1.2.1.2.2.2.1.1.10 equals snmpwalk-v 2c-c public 172.184.2.4 ifinOctets
Principle: snmp counter mechanism, if overflowed, then clear 0 re-record.
In addition, in the case of count32, the maximum supported value is 2 ^ 32 = 4G, that is, if it exceeds 4G, the switch snmp counter automatically overflows and then recounts from 0. Then, because the difference calculated after zero is incorrect, the graph will be broken.
Solution:
Replace the following two parameters and OID values in the zabbix template:
IfInOctets OID:.1.3.6.1.2.1.2.2.1.10 [port receives traffic MIB information] ifOutOctets OID:.1.3.6.1.2.1.2.2.1.16 [port sends traffic MIB information]
To be replaced by:
IfHCInOctets is Counter64 [OID:1.3.6.1.2.1.31.1.1.1.6]
IfHCOutOctets is Counter64 [OID:1.3.6.1.2.1.31.1.1.1.10]
If you replace it with a 64-bit data type, it is almost impossible to break the graph.
Repair effect
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.