First of all, many devices can not install agent by default with the SNMP protocol, can be added directly, this article is not installed agent in the case of SNMP monitoring System. Monitor SNMP device for the KEY oid, the tail of the article lists the corresponding OID .
Yum install SNMP
# yum Install-y net-snmp *
SNMP configuration
# vim/etc/snmp/snmpd.conf
View SystemView included. 1.3.6.1.2.1.25.1.1// Find this line , Add the following configuration
View SystemView included. 1// This is a new addition
Proc MOUNTD// Find these configurations and remove the annotations
Proc NTALKD 4
Proc SendMail 10 1
disk/10000
Load 12 14 14
Start snmpd
# service SNMPD Start
Native command-line testing:
format:snmpwalk-c public-v 2c IP OID ///oid is used as a number, ". "Start
# Snmpwalk-c public-v 2c 127.0.0.1 SysName // View machine name, 127.0.0.1 server IP
return: snmpv2-mib::sysname.0 = String:iz2886yjgbsz
# Snmpwalk-c public-v 2c 127.0.0.1.1.3.6.1.4.1.2021.4.11.0 // Get remaining memory , 127.0.0.1 server IP
return: ucd-snmp-mib::memtotalfree.0 = integer:472520 KB
Zabbix Creating a monitoring entry
Open the site click on the configuration- hosts to Zabbix host list, in the host you need to configure the row, click on the Name column, Host SNMP interfaces Click Add to write to the IP of the monitored machine .
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/79/F3/wKioL1afLICgE-FjAABEOVr3Zqw492.png "title=" Picture 1.png "alt=" Wkiol1aflicge-fjaabeovr3zqw492.png "/>
Click on the monitor item item, click "Create Item" In the top right corner,and the normal monitoring item creation method is similar, only a few places are different,
type Choose SNMP v2 or v1,v3, General v2,
KEY is the name of the memo corresponding to the OID in the following list .
SNMP Community using the default public,
Port default to 161 is not filled in .
SNMP OID write the OID, for example ". 1.3.6.1.2.1.2.2.1.10.3".
Detailed OID list see another article: http://wutou.blog.51cto.com/615096/1736806
Then the other content is the same as the other item type and then saved. Finally go and see if the data is available. Red box is required to fill in
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/79/F3/wKioL1afLK3SJmtOAABu5uc-_Wc322.png "title=" Picture 2.png "alt=" Wkiol1aflk3sjmtoaabu5uc-_wc322.png "/>
then go to the latest data to see zabbix did you get snmp m last data Find your host and the corresponding host
In the corresponding Name find the other click on the right side of Graph view.
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/79/F4/wKioL1afLQqi_reJAABtgRuJAYk890.png "style=" float: none; "title=" Image 5.png "alt=" Wkiol1aflqqi_rejaabtgrujayk890.png "/>
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/79/F4/wKioL1afLQuhNSD8AAA3IeU8HEo019.png "style=" float: none; "title=" Image 6.png "alt=" Wkiol1aflquhnsd8aaa3ieu8heo019.png "/>
End
Reference article:
http://www.ttlsa.com/zabbix/zabbix-snmp-agent/
http://www.ttlsa.com/zabbix/zabbix-snmp-install/
http://www.ttlsa.com/zabbix/zabbix-snmp-instance/
This article is from the "Enlightened Grocery store" blog, please be sure to keep this source http://wutou.blog.51cto.com/615096/1736801
Zabbix2.4.x_ Monitoring SNMP