https://cloud.tencent.com/info/488cfc410f29d110c03bcf0faaac55b2.html (未测试)
https://www.cnblogs.com/yinzhengjie/p/6165512.html (未测试,zabbix监控路由器流量)
https://www.cnblogs.com/vurtne-lu/p/7813397.html (未测试)
使用snmp采集信息:
https://blog.csdn.net/chengxuyuanyonghu/article/details/43155845
snmp安装及使用:
https://blog.csdn.net/aoerqileng/article/details/52166359
windows2008设置snmp
https://jingyan.baidu.com/album/3d69c5515e56b3f0cf02d7bf.html?picindex=1
路由器配置snmp
https://wenku.baidu.com/view/e08c6f1583d049649a665828.html
一、开启snmp服务,
参考网站:https://blog.csdn.net/jiawei836/article/details/4941915
router(config)#snmp-server community public RO
router(config)#snmp-server community private RW
public 是定义好的具备RO属性的共同体名,private 是定义好的具备RW属性的共同体名
二、no snmp-server community public rw 即可删除添加的snmp共同体
[root@yao ~]# snmpwalk -v 2c -c yao 61.49.231.30 1.3.6.1.2.1.2.2.1.10.1
IF-MIB::ifInOctets.1 = Counter32: 0
[root@yao ~]# snmpwalk -v 2c -c yao 61.49.231.30 1.3.6.1.2.1.2.2.1.10.2
IF-MIB::ifInOctets.2 = Counter32: 119660809
三、查路由器ip地址:
2900#show ip route
四、zabbix监控snmp问题error:Timeout while connecting to
https://blog.csdn.net/zk673820543/article/details/50522024
是由于community(团体)不是public导致的
将团体设置一个只读的public
linux上操作:
安装: yum -y install net-snmp-utils snmp-libs snmp-devel snmp
测试 : snmpwalk -v 2c -c yao 221.219.153.110