当前位置:网站首页>zabbix监控华为路由器
zabbix监控华为路由器
2022-08-07 15:27:00 【掌九】
配置zabbix监控华为路由器。
1.部署实验环境
需要实现华为模拟器中的网络设备和物理主机、虚拟机通信。这篇文章中以ENSP中的路由器为例,实现
它和物理主机、虚拟机的通信。
在ENSP中借助Cloud来实现。ENSP安装略。
在Cloud中添加UDP端口,添加网卡。添加端口映射表,要注意勾选双向通道

1、在云中增加一个绑定真实网卡的端口
2、在云中添加一个绑定UDP的端口
3、增加两个端口的映射,设置双通道
4、绑定UDP的端口与AR连接
5.配置AR1,添加接口IP
2.华为路由器配置snmp
1、执行命令 snmp-agent ,开启SNMP Agent服务 [Huawei]snmp-agent
2、执行命令 snmp-agent sys-info version v2c ,配置SNMP的协议版本为SNMPv2c [Huawei]snmp-agent sys-info version v2c
3、执行命令 snmp-agent community read/write XXX(团体名),配置设备的读/写团体名(读必须 配置) *注意缺省情况下团体名最小长度为8,至少包含两种不同字符,区分大小写,特殊字符不包括空格和问号。 [Huawei]snmp-agent community read zabbix
4、1.执行命令 snmp-agent target-host trap address udp-domain 服务器IP地址 params securityname XXX v2c [Huawei]snmp-agent target-host trap address udp-domain 192.168.150.101 params se curityname zabbix v2c
2.或者 snmp-agent target-host trap-hostname zabbix address 192.168.43.116 udp-port 161 trap-paramsname zabbix
5、执行命令 snmp-agent trap enable 开启snmp [Huawei]snmp-agent trap enable Warning: All switches of SNMP trap/notification will be open. Continue? [Y/N]:y
6、重点!!!执行命令 snmp-agent protocol source-status all-interface 开启SNMP使用所有 端口接收和响应snmp请求(可自定义端口) 模拟器上没有次命令,不用配置。
7、保存配置 [Huawei]quit <Huawei>save The current configuration will be written to the device. Are you sure to continue?[Y/N]y
3.zabbix配置
1.添加主机

2.链接模板

3.配置宏


4.服务器配置
[[email protected] ~]# yum install net-snmp-utils
[[email protected] ~]# snmpwalk -v 2c -c zabbix 192.168.43.117 .1


边栏推荐
- [Principle of Database System] Chapter 4 Advanced Database Model: E/R Model and Its Design Rules and Constraints
- WeChat automatic card issuance robot description
- LeetCode每日两题01:旋转数组(均1200道)
- LeetCode 热题 HOT 100(6.正则表达式匹配)
- Open3D ICP精配准(点到面)
- 微信小程序——swiper内容水平垂直居中
- RTT学习笔记8-RTT内核移植
- 【Electrical Engineering (Part 2)】Organization of some basic concepts
- 数据文件未用正确方法删除后的解决方案
- 微信小程序——动态绑定多个class
猜你喜欢

浏览器工作原理与实践学习笔记(一)宏观视角下的浏览器

LeetCode每日两题02:买股票的最佳时机 (均1200道)

冒泡排序的理解

C Expert Programming Chapter 7 Thinking About Memory 7.8 Take it easy --- "Thing King" and "Page Game"

Lianshengde W801 series 1-flash save data routine: save wifi distribution network information

Lianshengde W801 series 4-MQTT use

【数据库系统原理】第四章 高级数据库模型:E/R模型及其设计规则、约束

juc

Flink CDC

C Expert Programming Chapter 8 Why Programmers Can't Tell the Difference Between Halloween and Christmas 8.7 Implementing Finite State Machines in C
随机推荐
模型预测值全零或者全一
[HCIP] Small Experiment on BGP Routing Problem
php源码随机输出某个目录下的图片API
jmter正则表达式提取器
Chapter 8 C programming expert why programmers cannot distinguish where Halloween and Christmas 8.5 prototype fail
Threads of control and synchronization
C Expert Programming Chapter 7 Thinking About Memory 7.8 Take it easy --- "Thing King" and "Page Game"
LeetCode hot topic HOT 100 (10. Delete the Nth node from the bottom of the linked list)
The use of function helpers in jmter
RTT学习笔记10- 设备IPC 完成量-ringbufffer-workwueue
Getting started with shell scripting
[Principle of Database System] Chapter 3 BC Normal Form, Third Normal Form and Fourth Normal Form
Expert C Programming Chapter 8 Why Programmers Can't Tell the Difference Between Halloween and Christmas 8.2 Building Graphics from Bit Patterns
简记_如何使用立创商城的原理图符号及封装
俩日总结(【20】【21】)
一、Flink 处理IOT数据
数据文件未用正确方法删除后的解决方案
OpenCV 颜色检测| color detection
Chapter 14 主题模型
LeetCode Hot Questions HOT 100 (6. Regular Expression Matching)




