linux (cent系 snmp)配置

来源:互联网 发布:2000年人口普查数据 编辑:程序博客网 时间:2024/04/25 21:03

给树莓派按snmpd 百度出来的snmpd.conf各种不靠谱,抄来超去的。

放狗搜了一下,很简单改两条就行:

Change the agentAddress from: agentAddress udp:127.0.0.1:161to, by adding the local IP address (why?): agentAddress udp:127.0.0.1:161,udp:192.168.0.15:161Later, I found that all that was needed for that line was:agentAddress 161Below the line: #rocommunity public localhostadd: rocommunity public        (without the initial #)Restart the SNMP deamon: sudo /etc/init.d/snmpd restart


0 0