nano /etc/snmp/snmpd.conf
agentAddress udp:161
view all included .1 80
rouser 用户名 auth
createUser 用户名 MD5 "密码" DES
rocommunity public 客户端IP地址
sysLocation Sitting on the Dock of the Bay
sysContact Me <me@example.org>
sysServices 72
proc mountd
proc ntalkd 4
proc sendmail 10 1
disk / 10000
disk /var 5%
includeAllDisks 10%
load 12 10 5
iquerySecName internalUser
defaultMonitors yes
linkUpDownNotifications yes
master agentx
/etc/init.d/snmpd restart