① Environment
Yum-y install GCC mysql-Server httpd PHP-mysql PHP-Gd PHP-bcmath PHP-xml php-mbstring mysql-devel PHP-SNMP net-snmp-devel net-snmp net -SNMP-utils openipmi-devel curl-devel
② Download and decompress
Wget http://prdownloads.sourceforge.net/zabbix/zabbix-2.0.10.tar.gz? Download
Tar zxvf zabbix-2.0.10.tar.gz
③ Configure the
This article mainly introduces that Zabbix monitoring server has been configured. to use Zabbix to monitor Linux hosts, you can refer to the following instructions:
The Zabbix monitoring server has been configured. now you need to use Zabbix to monitor Linux hosts.
Specific operations:
The following operations are per
"Slave_IO_Running | Slave_ SQL _Running" | awk '{print $2}' | grep-c Yes
I only wrote one command to explain it.
First use the zabbix user to obtain all slave statuses, then grep out of these two statuses, and then output the second column. Finally, check that there are several Yes statuses.
Normally there are two Yes states,
In fact, you will find that there is only one command, but I write it into a script. Here I will talk about it, because if you
AlertscriptspathDefault value:/usr/local/share/zabbix/alertscriptsDescription: Alarm Script Directory
AllowrootDefault: 0 Description: Whether to allow Root startup, 0: Not allowed, 1: Allow, by default she will use the Zabbix user to start the Zabbix process, do not recommend the use of root
CacheSizeValue range: 128k-8gDefault value: 8MDescription:
Tags: monitoring Zabbix mysql5.6Article reference: http://www.ttlsa.com/zabbix/zabbix-monitor-mysql/In the original text:If you find that the monitoring does not have data, please troubleshoot the following issues1. Zabbix whether the client restarts2. Whether the script has execute permission3. Does the database have
/zabbix/etc/zabbix_ AGENTD.CONF.D
[[email protected] zabbix_agentd.conf.d]# ll
118866 + userparameter_percona_mysql.conf: If you do not have this directory, you can create a new one manually. 3. Ensure that the following parameters are included in the zabbix_agentd.conf : [email protected] etc]# vim zabbix_agentd.conf
Include =/usr/local/zabbix/etc/zabbix_agentd.conf.d/ 4. Restart AGENTD Service [E
Tags: failed ges color Visio val his redhat trap failEnvironment:Zabbix 3.4Redhat 6.5 64PHP 5.5Mysql 5.6Nginx 1.6Symptom: After logging in Zabbix, the service is not runing, Zabbix status is shown as followsLog analysis:Log path:/tmp/zabbix_server.log26508:20180627:144257.934 starting Zabbix Server. Zabbix 3.4.10 (revi
Based on centos6.5 + zabbix-2.4.6 and most of the commands are under the Zabbix installation path!! Like/usr/local/zabbix/.Yum-y install gcc gcc-c++ autoconf httpd php mysql mysql-server php-mysql httpd-manual mod_ssl mod_perl mod_auth_mysql ph P-GD php-xml php-mbstring php-ldap php-pear php-xmlrpc php-bcmath mysql-connector-odbc mysql-devel libdbi-dbd-mysql Net-
Label: [[Email protected] Client zabbix]# grep-v "^$" etc/zabbix_agentd.conf|grep-v "^#"
Logfile=/tmp/zabbix_agentd.log
server=127.0.0.1,zabbix_server_ip
serveractive=zabbix_server_ip:10051# Note that the port number
hostname=113.86.103.100# and the zabbix_server end should be kept to one, such as: (A)
include= /usr/local/zabbix/etc/zabbix_agentd.conf.d/
Unsafeuserparameters=1
userparameter=mysql.version,m
a proxy, I began to encounter a broken graph problem, for example, the following: by analyzing the history data in the zabbix server database, I found data loss, the interval value is 60 s. There should be 60 pieces of data in an hour, but there are only a dozen pieces of data in the database. In this case, we can analyze the items table in the proxy database. There is no problem with the delay settings, eliminate the problem of config sync, analyze
Use yum to test Zabbix 2.4 On CentOS 7 or RHEL 7
Use yum to test Zabbix 2.4 On CentOS 7 or RHEL 7
Steps for lite version:1. Add SourceYum-y install epel-releaseVi/etc/yum. repos. d/zabbix. repo[Zabbix]Name = ZabbixBase url = http://repo.zabbix.com/zabbix/2.4/rhel/7/x86_64/Gp
Introduction:
Zabbix is an enterprise-level open-source solution that provides distributed system monitoring and network monitoring functions based on the Web interface.
Zabbix can monitor various network parameters to ensure secure operation of server systems. It also provides a flexible notification mechanism for system administrators to quickly locate and solve various problems.
Zabbix is a fully open source monitoring system that integrates cacti and nagios, and provides additional functions such as distributed monitoring, monitoring Web page responses, code, content, suitable for large-scale environmental monitoring, supporting more than 10W of equipment, and arranging branch office proxy servers, reduce concurrent pressure;
I. Installation of Zabbix
1. Install dependency Packa
Right-click the item in ListBox and right-click the item in listbox.
Today, I want to create a ListBox item and right-click the pop-up menu. There is a "RENAME" on the menu to rename the items in the ListBox. A problem is found during implementation, right-click the blank area of ListBox and rename it. Because no selected ite
Discovery into zabbix (the Template is included in the attachment). The specific operations are not described.2. Set the Regular ExpressionIn "manage" = "general" = "Regular Expression", select "new regular expression"Then, set the settings as follows:WKioL1MT97Pzv4GDAAJ_GhR5I0o411.jpgI am running many redis instances.3. Host Association TemplateYou can monitor the host management template of the redis instance, which is automatically updated 3600 se
replication synchronization (replication) is started, it is successful only when the following two conditions are met:
Slave_IO_Running: YesSlave_SQL_Running: YesScript 1
Create a script file, mysqlms. sh
#!/bin/bash/usr/local/mysql/bin/mysql -uzabbix -e 'show slave status\G' |grep -E "Slave_IO_Running|Slave_SQL_Running"|awk '{print $2}'|grep -c Yes
Place it in a directory (with permission required). Put it in/etc/zabbix/mysqlms. sh and add the follo
TemplatesTemplate is provided by Zabbix system, go to Zabbix Web background,configuration-->hosts--> Click on your host name--> Select Template tab, select "Templates App MySQL ", then click Update toZabbix monitoring MySQLData ViewIf the configuration is not abnormal, then you can see in graph 2 charts, respectively, request traffic bandwidth, response traffic bandwidth, OPS, click monitoring-->graphs-->
Compile and install zabbix 3.0 and separate deployment configurationsExperimental System: CentOS 6.6 _ x86_64 prerequisites: Prepare the compiling environment in advance. Both firewall and selinux disable the experiment. Note: There are 4 hosts in this experiment. IP address and role allocation are shown in topology: http://pan.baidu.com/s/1bnnYiMr experiment topology used in the test of mariadb software: 1. Preparation 1. modify the hostname and host
check.crontab must correspond to the key that is created under item include related files on the Zabbix client machine,[[email protected] etc]# lszabbix_agent.conf zabbix_agent.conf.d zabbix_agentd.conf zabbix_agentd.conf.d[email protected] etc]# Cat zabbix_agentd.conf | grep-v "#" | grep-v "^$ "Pidfile=/var/run/zabbix/zabbix_agentd.pidLogfile=/var/log/
technologies to store data with RRDtool. With visual interface, it is suitable for automatic monitoring of cluster system. Its well-designed data structures and algorithms make the connection overhead to the monitored end very low. Tens of thousands of clusters are now using this monitoring system to easily handle 2000-node clustered environments. The power of ganglia is that the ganglia server is able to collect data from all clients on the same network segment through a client, ganglia the cl
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.