Snmp monitor linux servers First, modified by the monitored side
Shell#yum Install Net-snmp–y
shell# Mv/etc/snmp/snmpd.conf/etc/snmp/snmpd.conf.bak
shell# vim/etc/snmpd/snmpd.conf
Com2sec mynetwork 10.0.2.161 Public # here writes the service-side IP thatallows this machine to access your SNMPif the default is all accessible by default.
Group Myrogroup v2c MyNetwork
Access Myrogroup "" Any noauthprefix all None
View all included. 1 80
Shell#chkconfig SNMPD on
shell# Service SNMPD Start
Second, the service side modification
Install packages
shell# Yum Install Net-snmp-utils
To test:
Snmpwalk–v 2c–c Public 10.0.2.166
Snmpwalt–v 2c–c Public 127.0.0.1snmpv2-mib::systime.0
If you have the data, that means it's successful.
Third, add the host
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/85/98/wKioL1epjGygsQRuAAGKZhbzGJM969.png-wh_500x0-wm_3 -wmp_4-s_3197941652.png "title=" image 1.png "alt=" Wkiol1epjgygsqruaagkzhbzgjm969.png-wh_50 "/>
Association Templates TEMPLATESNMP OS Linux
The default is one hour
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/85/98/wKioL1epjIPBj7ZrAAB8xFI968A549.png-wh_500x0-wm_3 -wmp_4-s_3924992012.png "title=" picture. png "alt=" wkiol1epjipbj7zraab8xfi968a549.png-wh_50 "/>
When the green light is on, it indicates that it has been monitored successfully.
This article is from the "Chuck's blog" blog, so be sure to keep this source http://chuckzeng.blog.51cto.com/10524728/1836151
SNMP Monitor Linux servers