Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Zabbix monitoring switch

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Configure the switch

System-view

[Quidway] interfacevlan 1

[Quidway-Vlanif1] ipaddress 192.168.1.111 255.255.255.0

[Quidway] snmp-agent

[Quidway] snmp-agentcommunity read public123

[Quidway] snmp-agentcommunity write private123

[Quidway] snmp-agentsys-info version all

two。 Extract device OID

In Linux, you can directly use the snmpwalk command to get

Yum-y install net-snmp-utils

Snmpwalk 192.168.1.111-v1-c public123 | grep-I ifInOctets (get port serial number)

Snmpget-v1-c public-On 192.168.1.111 ifInOctets.256 (get OID value with serial number 256)

.1.3.6.1.2.2.2.1.10.256 this is OID

Here, you can get the downloaded OID, get the uploaded OID and change the ifInOctets to ifOutOctets directly.

3. Create a template on zabbix

Log in to zabbix, select configuration, then select templates, and click create application in the upper right corner to create a template.

After the creation, click applications to create an interfere application.

After the application is created, click items to create a monitoring project.

Here is the monitoring of creating download traffic. If you want to monitor upload traffic, just change the OID in it to upload.

Finally, create the image. Select graphs to create the diagram of LAN1, and click add in the items below to add the project you just created.

4.zabbix create host

Click create host in the upper right corner of hosts in configuration

Then select templates to associate the template you just created

Finally, check whether the host snmp turns green, which means the monitoring is successful.

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.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report