这里填写标题1. SNMP 网络协议1.1. OID1.1.1. Who decides on the structure of SNMP OIDs1.2. MIB1.2.1. 华为1.2.1.1. Refrence1.3. SNMP Manager1.3.1. Vendors and Their Unique MIBs1.4. snmp-cmds 系列工具命令1.4.1. snmpget1.4.2. snmpgetsome: 这里我们可以传入一个 l…
使用ifHCOUTOctets 而不是 ifOUTOctets,前者是64位的counter,后者是32位的snmp-exporter 的配置文件中,抓什么指标就 walk 什么 oid,最小化 walk 提高效率告警指标通常使用端口占用率而不是端口流量绝对值,ifSpeed 的值…
#!/bin/bash
## Author Da e
## 修改对应设备 <192.168.x.x> ip 和 oid序号 自己查询 使用snmpwalk工具
webhook_url"https://open.feishu.cn/open-apis/bot/v2/hook/xxxxxxx"##测试机器人
#webhook_url"https://open.feishu.cn/open-apis/bot/v2/hook/cb…