Linux Installation Zabbix_agent Client
1, create Zabbix User:
[Email protected] ~]# useradd zabbix-s/sbin/nologin
2, compile and install Zabbix_agent:
[Email protected] zabbix-2.2.2]#/configure--with-net-snmp--with-libcurl--enable-agent--prefix=/usr/local/ Zabbix[[email protected] zabbix-2.2.2]# make && make install
3. Copy the startup script and modify the path in the script
[[email protected] zabbix-.2.2]# CP misc/init.d/fedora/core5/zabbix_agentd/etc/init.d/Modify the path in the script: [[email protected] zabbix-2.2.2]# vim/etc/init.d/zabbix_agentdzabbix_bin= "/usr/local/zabbix/sbin/zabbix_agentd"
4. Modify the Zabbix configuration file
[Email protected] zabbix-2.2.2]# Vim/usr/local/zabbix/etc/zabbix_agentd.confserver=192.168.217.132hostname=linux Test server
5, Start zabbix_agent
[Email protected] zabbix-2.2.2]#/etc/init.d/zabbix_agentd start starting Zabbix Agent: [OK]
Zabbix Monitoring Linux hosts:
1, create the host Zabbix monitor the Linux host:
Configure-to-host-create hosts
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/E6/wKioL1VVtz-i5CDyAANBwj5IKxI715.jpg "title=" 1.png " alt= "Wkiol1vvtz-i5cdyaanbwj5ikxi715.jpg"/>
2, fill in the host related information
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/EC/wKiom1VVv6rhSQbAAAMaNgJOQjY947.jpg "title=" 2.png " alt= "Wkiom1vvv6rhsqbaaamangjoqjy947.jpg"/>
3. Add a host Template
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/E7/wKioL1VVwUqjId19AAL10ahkxBk023.jpg "title=" 3.png " alt= "Wkiol1vvwuqjid19aal10ahkxbk023.jpg"/>
After saving, view the host list, the green z indicates that the client is successfully monitored, if the red z indicates a failure, then move the mouse to the red Z, there will be a specific hint.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6C/E7/wKioL1VVwbbjysoLAAN78BYKXkU586.jpg "title=" 4.png " alt= "Wkiol1vvwbbjysolaan78bykxku586.jpg"/>
4. View monitoring data
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6C/EC/wKiom1VVwprAW_eLAAPB6cEbmK4778.jpg "title=" 5.png " alt= "Wkiom1vvwpraw_elaapb6cebmk4778.jpg"/>
5. View the Monitor graph:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/E7/wKioL1VVxD6iiFGCAAV8utXBbbM057.jpg "title=" 6.png " alt= "Wkiol1vvxd6iifgcaav8utxbbbm057.jpg"/>
Monitoring to complete this!
This article is from the "Baiyubao blog" blog, make sure to keep this source http://baiyubao.blog.51cto.com/2845008/1651699
Zabbix Series II: Zabbix monitoring Linux Server