compilation directory Misc/init.d/fedora/core/zabbix_agentd
All we have to do is copy these files to the Web directory, such as/var/www/html/zabbix_agent/, and depending on the system version, we can prepare the 64 and 32-bit ZABBIX_AGENTD for subsequent installations under different systems.
After copying, manually verify that the file is available for download:
Client Plug-ins: Http://192.168.1.40/zabbix_agent/64/zabbix_agentd
Service Control script: Http://192.168.1.40/zabbix_agent/init.
Path= $ORACLE _home/bin: $PATH Export PATH Ld_library_path= $ORACLE _home/lib: $LD _library_path Export Ld_library_pathCompiling Zabbix to install other dependent packagesInstall the following package from the OL7 DVD to ensure that the Zabbix compilation is successful enough.
--with-net-snmp
#rpm-UVH net-snmp-devel-5.7.2-20.el7.x86_64.rpm elfutils-devel-0.160-1.el7.x86_64.rpm elfutils-lib
Environment:
Zabbix server: 192.168.1.1
MySQL Server: 192.168.1.2
Web server: 192.168.1.3
I. zabbix compilation and Installation
1. Install the server and agent at the same time, and add the database to MySQL DATA. You can use a configuration command similar to the following:
./configure--enable-server--enable-agent-
[Zabbix series] install and add a host
Test Environment Ubuntu 14.04.1 LTS
Server Installation]For installation, the official website provides detailed installation methods, including the source code and package installation of each platform. For more information about Linux, see
Https://www.zabbix.com/documentation/2.4/manual/installation/install_from_packages
Zabbix is a C/S architecture, so it is install
/local/mysql-5.6/bin/mysql_config \-- With-gd \-- With-freetype-dir \-- With-gettextMake make install
3. Create a database on the new server
Create database zabbix;Grant all privileges on zabbix. * to 'zabbix' @ 'localhost' identified by 'zabbix ';Grant all privileges on zabbix
--enable-java to enable monitoring Tomcat through JMX support, Zabbix server installation see the corresponding document in the station
./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-mysql --enable-java --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2 --enable-mbstringModifying the
required data files into the Zabbix database cd/usr/share/doc/zabbix-server-mysql-2.4.7/create/ mysql-urootzabbix
Edit the master configuration file for Zabbix
# vi/etc/zabbix/zabbix_server.conf
Dbhost=localhostdbname=zabbixdbuser=zabbixdbpassword=zabbixModify the item to the above
Start the
Before installing the Zabbix service, first of all, we build a good lamp environment or LNMP environment, where I set up the environment for the lamp environment, how to build the lamp environment I mentioned earlier in the article, Poke here to see the lamp environment installation, OK, then start to prepare to install ZabbixZabbix Service InstallationAfter installing the lamp environment need to configure the php.ini file, after installing lamp php.
Zabbbix can be used for centralized monitoring and analysis of log files that support/do not support rollover.When a log file contains a specific character or character pattern, Zabbix sends an alarm message to the user.To log file monitoring, the following is requiredZabbix Client Agent (Zabbix agent)Set monitoring en
System version: CentOS 6.5 software version: zabbix-2.4.6.tar.gzZabbix is an enterprise-class open source solution that provides distributed system monitoring and network monitoring capabilities based on a web interfaceZabbix can monitor various network parameters, ensure the safe operation of the server system, and provide a flexible notification mechanism to enable system administrators to quickly locate/resolve various problems.Functions and charac
Zabbix is another use of a more monitoring tool, also need apache+php support, but it is more than Nagios a MySQL, because it has data to be stored. Therefore, to install Zabbix, you must install MySQL. Before installing the Zabbix, you also need to install the Epel extension source, because CentOS comes with a Yum source that is not
keys after you add Web monitoring, and automatically create the appropriate keys after you add Web monitoring, but select the appropriate hosts that have the Web definedSelect the expression in function to trigger the alarm when the returned status code is not equal to variable n, and the value of n is set to 200 belowExpression: If the last 4 consecutive Response_code values are not 200, the alarm is triggered{192.168.3.86:web.test.rspcode[3.86_http_status,3.86_http_status].last (0)}
Test, the
/local/zabbix--enable-server--enable-agent--enable-proxy--with-mysql--WITH-NET-SNMP-- with-libcurlsudo make sudomakeinstall9. Modify the Zabbix_proxy.conf filecd/usr/local/zabbix/etc/sudo CP-a zabbix_proxy.conf zabbix_proxy.conf.baksudoVim zabbix_proxy.conf# Change the content server=192.168.45.126 IP Address of the #zabbix
SNMP.However, after the modified cacti server can not monitor the CPU, memory, traffic data, so need to make the following changes:Find the following in the snmpd.confview systemonly included .1.3.6.1.2.1.1view systemonly included .1.3.6.1.2.1.25.1Plus view systemonly included .1 80 , all devices are allowed to listen.After all the modifications have been completed, restart SNMP: service snmpd restartVerify that the installation is successful, as follows:>> snmpget --versionroot@kalle
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.