安装snmp工具
配置snmpd.conf
:t nu
在对应行修改以下内容:
40 # sec.name source community
41 com2sec notConfigUser default zabbix #社区名称定义为zabbix
55 view systemview included .1 #添加一个采集项.1,意味着可以采集到所有mib tree的信息
56 view systemview included .1.3.6.1.2.1.1
57 view systemview included .1.3.6.1.2.1.25.1.1
启动服务
udp 0 0 0.0.0.0:161 0.0.0.0:* 18390/snmpd
二、主机端
安装snmpwalk工具测试
跟着别的帖子做了做好了,,,,我不理解