yum -y install net-snmp*
vim /etc/snmp/snmpd.conf(默认为:public必须要改)
snmpwalk -v 2c -c public localhost system