[email protected]/7/25
1,安装
>yum -y install net-snmp net-snmp-devel
2,配置用户信息
> echo "rouser jkb auth" >> /etc/snmp/snmpd.conf
> echo "createUser jkb MD5 iampassword" >> /etc/snmp/snmpd.conf
密码至少要有8个字节
3,启动
>service snmpd start
4,防火墙配置
iptables -A INPUT -s 8.8.8.8 -p udp --dport 161 -j ACCEPT
Centos 6.5下SNMP简单配置(snmp protocol v3,监控宝)
时间: 2024-10-09 04:45:20