In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Installation of linux server client
Since we have already installed zabbix_agentd on the zabbix_server machine, there is no need to install it again. So how are other linux machines that need to be monitored installed? when installing the client, the software package is the same as the server, except that the configuration parameters of configure are different. Of course, the source code installation, what GCC,make commands have to be installed, so the client does not recommend source code installation, because for a large number of machines (thousands, very common in Internet companies), it is recommended to install the rpm package, the following shows the use of source code installation
Download the zabbix installation package
# wget "http://downloads.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2.2.2/zabbix-2.2.2.tar.gz?r=http%3A%2F%2Fwww.zabbix.com%2Fdownload.php&ts=1395066528&use_mirror=jaist"# groupadd zabbix- g # useradd-g zabbix- u 201-m zabbix # tarxf zabbix-2.0.8.tar.gz # cd zabbix-2.0.8 #. / configure-- prefix=/usr-- sysconfdir=/etc/zabbix-- enable-agent # make# make install
Copy the Agent startup script
# mkdir / var/log/zabbix # chown zabbix.zabbix / var/log/zabbix # cp misc/init.d/fedora/core/zabbix_agentd / etc/init.d/ # chmod 755/etc/init.d/zabbix_agentd # sed-I "s#BASEDIR=/usr/local#BASEDIR=/usr/#g" / etc/init.d/zabbix_agentd
Add zabbix to the system service file
# vim / etc/services zabbix-agent 10050/tcp # ZabbixAgent zabbix-agent 10050/udp # ZabbixAgent zabbix-trapper 10051/tcp # ZabbixTrapper zabbix-trapper 10051/udp # ZabbixTrapper
Modify Agent configuration file
# sed-I "s/Server\ = 127.0.0.1/Server\ = 127.0.0.1192.168.30.130 g" / etc/zabbix/zabbix_agentd.conf # sed-I "s/ServerActive\ = 127.0.0.1/ServerActive\ = 192.168.30.130127.0.0.1/Server 10051 s#tmp/zabbix_agentd.log#var/log/zabbix/zabbix_agentd.log#g g" / etc/zabbix/zabbix_agentd.conf # sed-I "s#tmp/zabbix_agentd.log#var/log/zabbix/zabbix_agentd.log#g" / etc / zabbix/zabbix_agentd.conf # sed-I "# UnsafeUserParameters=0#aUnsafeUserParameters=1\ n" / etc/zabbix/zabbix_agentd.conf
Set Agent to boot
# chkconfig zabbix_agentd on # servicezabbix_agentdstart
Use the following command on the server side to test whether you can connect to the Agent side:
# / usr/bin/zabbix_get-s 192.168.30.131-p 10050-k "system.uptime" (192.169.30.131 is IP) 77177
CentOS 6.5install and deploy zabbix (Server side): http://zlyang.blog.51cto.com/1196234/1685629
Zabbix displays Chinese or the picture is garbled-solution: http://zlyang.blog.51cto.com/1196234/1685863
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.