Installing Zabbix ServerZabbix server nodes need to install MySQL in advance, install Zabbix Web-dependent Apache and PHP modules, and then install three Zabbix components zabbix-server-mysql, Zabbix-web-mysql, Zabbix-get.After in
/usr/local/zabbix_agentd/etc/zabbix_agentd.conf1, according to the need to choose active Passive,2, because the Zabbix monitoring template is used by default is the passive mode, so the zabbix-server side directly add the hosts by default is passive mode.8. Start ZABBIX_AGENTD Serviceshell>/etc/init.d/zabbix_agentd start被动模式验证:shell> netstat -tunlp | grep zabbixtcp 0 0 0.0.0.0:10050
replication client on *. * TO 'mpm' @ '2017. 0.0.1 ';
3. create related directories and files and add permissions
Mkdir-p/var/log/zabbix/cacheChown-R zabbix:/var/log/zabbix/cache
4. modify the path of zabbix_send in the FromDualMySQLagent. pl script.
Path of zabbix_sender in FromDualMySQLagent. pl. Sed-I's |/usr/local/bin |/usr/local/
default, there are ready-made templates, ready-made key values, we need to do is just a new. my.cnf file in/var/lib/zabbix, which reads as follows:[Client]host=127.0.0.1port=1036User=rootPassword=rootWeb site Log MonitoringConfigure log formatWe assume that the Web server you are using is nginx, and we add a log format as follows:Log_format withhost ' $remote _addr\t$remote_user\t$time_local\t$host\t$reque
Solve the problem of Chinese garbled characters in the zabbix graph. The Chinese Character in the figure turns into square and zabbix Chinese character.
[root@node03 src]# wget http://down1.chinaunix.net/distfiles/ttf-arphic-uming_0.0.20050501-1.tar.gz
[Root @ node03 ~] # Find/-name fonts/etc/fonts/usr/share/libwmf/fonts/usr/share/mime/fonts/usr/share/X11/fonts /usr/share/mimelnk/fonts/usr/html/
Zabbix server exception or troubleshooting method, zabbix exception
When an exception or fault occurs on the server monitored by zabbix, you can send an alarm via email to automatically remind the O M personnel to handle the problem.Environment
192.168.2.117 zabbixserver192.168.2.119 zabbixagentThe curl version of server 117 must be 7.20 with the postfix service
/mysql_cece_monitor_agent/FromDualMySQLagent. pl/etc/zabbix/FromDualMySQLagent. conf
2. cp FromDualMySQLagent. conf. template/etc/zabbix/FromDualMySQLagent. conf
And modify the relevant content:
[Default] Type = mysqldLogFile =/var/log/zabbix/FromDualMySQLagent. logUsername = rootPassword =
The following are the permissions required to monitor the user in the my
Intranet has a MySQL server, version is 5.7.14For the installation of this version, interested can refer tohttp://xiao987334176.blog.51cto.com/2202382/1783509Zabbix comes with a template templates App MySQL, used to monitor MySQL'sHowever, you cannot use it directly, otherwise you will not get the data because there is no key.Detailed steps are described below.First install zabbix-agent on MySQL server, ple
Tags: Zabbix oracle Orabbix Script Auto DiscoveryAs the company to the Oracle database, need to wake up to monitor this thing, so go to the online Amoy data, found that there is a suite Orabbix monitoring Oracle's effect is good, and then took to test a bit. Orabbix is a suite written by Java that needs to be installed on the Oracle server to run the Java environment. For simplicity, the Java environment can be installed using Yum-y install Java.After
Zabbix supports ping, snmp, and many other monitoring tasks. However, most monitoring tasks can be used only with the support of client agentd. To avoid manual operation every time, perform the following steps:
1. Copy the startup script under the zabbix source program misc/init. d/redhat to the/etc/init. d directory.Cp/zabbi x/zabbix-1.6.6/misc/init. d/redhat/za
On September 4 and September 9, the company's monitoring platform Zabbix two large-scale Zabbix monitoring alarms, are ZABBIX agent on * * * * * unreachable for 5 minute unreachable, each time is all monitoring host this alarm.Fault description: all monitored host alarms, all graphics data is interruptedAction: The first time is to execute the zabbix_get command
Zabbix implements the alarm function and zabbix implements the alarm function.
1. Apply for an enterprise account, Application address https://qy.weixin.qq.com/
2. log on to the enterprise account
Figure 1
Figure 2
2. Add an account
Figure 1
Figure 2
After completing the preceding steps, the account is added.
3. Create an application
Figure 1
Figure 2
Figure 3
Figure 4
After the above four images a
FromDualMySQLagent. pl. Sed-I's |/usr/local/bin |/usr/local/zabbix/bin/| G' FromDualMySQLagent. pl
5. start agentd and service zabbix_agentd start
3. Configure the zabbix Server
1. Import related templates. Template_FromDual.MySQL.mpm.xml is required. You can import other templates as needed;
2. Add a host and link i
Zabbix Official Support Monitor MySQL, but using the default template directly is not available and requires additional settings to use. If you only need to do a simple monitoring of MySQL database, Zabbix self-brought template can meet the requirements;Here are the steps to monitor MySQL with a template that comes with Zabbix:Environment: zabbix2.2 Centos6.5 MySQL 5.51, determine the
Description
Operating system: CentOS
IP Address: 192.168.21.127
Web environment: nginx+mysql+php
Zabbix version: Zabbix 2.2 LTS
Note: Linux installation Zabbix need to have lamp or LNMP operating environment
Prepare the article:
One, Web environment: nginx+mysql+php
CentOS 7.0 compile and install nginx1.6.0+mysql5.6.19+php5.5.14
Second,
Python Gets the host name and number of hosts monitored through the Zabbix API#!/usr/bin/env python#-*-Encoding:utf8-*-#Import module, URLLIB2 is a module that simulates the browser HTTP methodImportJSONImportUrllib2ImportSYSImportSmtplib fromUrllib2ImportRequest,urlopen,urlerror,httperror#URL and URL header#Zabbix's API address, user name, password, change to the actual parameters hereZabbix_url="http://ip/api_jsonrpc.php"Zabbix_header= {"Content-typ
Workaround: Edit the/etc/zabbix/zabbix-server.conf, increase the startdiscoverers parameter by default to 1, increase the parameter to the appropriate value, For example 4. Then restart Zabbix-server, if the utilization of the discoverer service process continues to soar, continue to increase the number of discoverer boot processes.This article is from the "Steve
Problem Description:Decorate the Zabbix monitor, normal operation. However, after restarting the virtual machine server, the page appears the following error, and the set of the report information is also invalid:Check the iptables and SELinux, in the closed state, check the Zabbix-server, httpd, mysqld, are in the open state. View the Zabbix_server.log log as follows: After data lookup, the problem is on t
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.