Environment requirements for Zabbix and zabbix
Environment requirements for Zabbix ConfigurationZabbix database selection, installation, creation, and upgradeHow to obtain ZABBIXFind the current version and its download instructions on the Zabbix homepage.Hardware and storage requirementsZABBIX has requirements on both
agent state is still not normal, you can consider increasing this value# unavailabledelay=60# # Option:unreachabledelay# How often host was checked for availability during the unreachability period, in seconds.## Mandatory:no# range:1-3600# Default:#说明: When the agent side is in the unreachable state, the delay of a few seconds after the retry, it is recommended to leave the default, in the agent access to the debugging phase, you can consider reducing this value# unreachabledelay=15# # Option:
Monitoring MySQL status with Zabbix
Introduction:
How to Use Zabbix to monitor MySQL status?
Zabbix has a template that monitors MySQL, but cannot be used directly. We need to write scripts based on the Key provided by the template to obtain data.
1. Check which keys are available.
> Configuration-> Templates
# On this
Zabbix-server post-Installation fault handling and zabbix-agent configuration add processFault HandlingIn the first case, if the Web interface is prompted with the correct configuration of other parameters (Iptables, SELinux, etc.), such as:650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/78/0C/wKioL1Z07gSgrUvsAAC6P2ObuUM654.png "title=" capture. PNG1. PNG "alt=" Wkiol1z07gsgruvsaac6p2obuum654.png
)--Select template option, select template "Templates App MySQL", "Templdate OS Linux", "Templateapp Zabbix Agent" , then click on the "Add" button on the left, and finally click "Update" to complete the creation. 3, Figure 4 shows:Figure 3Figure 44, turn on MySQL performance monitoring.You can use the MySQL template that comes with Zabbix, but you also need to prepare a script for MySQL status on the MySQL
section of Zabbix, whose primary function is to allow proxy and server to communicate with the network Service (TCP port 10051) Zabbix Server provides a set of API calls for Zabbix Proxy. The two will be talking about "discovery data" and "Request Command". Sample data for these requests are as follows:
' {request ': ' Command ', ' Scriptid ': 1, ' HostID ': 100
Tags: configuration files Linux release monitoring monitor MySQLPrecautions:Experimental environmentCentOS Linux release 7.0.1406 (Core)[Email protected] scripts]# mysql-vWelcome to the MariaDB Monitor. Commands End With; or \g.Your MariaDB Connection ID is 10683Server VERSION:5.5.52-MARIADB MariaDB ServerBecause I do it on a server, I need the following:Zabbix_agentd httpd mysqld Zabbix_server1. Monitor MySQL using the Percona monitor plugin[email pr
How does Zabbix monitor mysql services on zabbix server ?, Zabbixmysql
How to monitor mysql services on Zabbix server
1. Configure mysql
In the/etc/zabbix/zabbix_agentd.d/userparameter_mysql.conf file, specify how the zabbix agent obtains information about the mysql service,
Zabbix Agent automatic and active registration
Brief description:
Let's take a look at the active registration function of Zabbix today.
When you have ten machines to monitor, you can add them manually. But what do you do when you have 50, hundreds, or more servers to monitor?
Active Agent Auto-Registration is mainly used for Active agents and automatic Registration with the Server. The problem of inconsist
password filling.2.3 Test the script and press 2.1 to go to the web to add, view the log processing situation3 Zabbix XML fileFirst Zabbix can be the template and screen, such as exported to an XML file, Zabbix XML file has a lot of similarities, here we can be lazy, to achieve a multi-item or the addition of many screen source, specifically can write
4. Install zabbix on the controlled end of station32
4.1: download the required package: zabbix-sender must be installed only when the controlled end is in active mode.
[[Email protected] # Yum-y localinstall \
Zabbix-2.2.3-1.el6.x86_64.rpm \ # master program server/agent are required
Zabbix-agent-2.2.3-1.el6.x86_64.rp
Zabbix after installation, because the company is currently PHP environment, need to monitor, online check some information to record the processVim/usr/local/php/etc/php-fpm.conf adding pm.status_path=/phpfpmstatusvim/usr/local/nginx/ Conf/nginx.conf adding server{listen 80;server_namelocalhost; location~^/(Phpfpmstatus) ${ includefastcgi_params; fastcgi_pass127.0.0.1:9000; fastcgi_paramscript_filename$ Fastcgi_script_name;}}vim/usr/local/
| com_delete| Com_commit| Bytes_sent| bytes_received| Com_begin) ";; esac[[emailprotected]~]#vim/usr/local/zabbix/etc/zabbix_agentd.conf add:# at the back Get MySQL version userparameter=mysql.version,mysql-v# get MySQL performance metrics, this is the script defined above userparameter= mysql.status[*],/usr/local/zabbix/etc/chk_mysql.sh$1# get MySQL Run status userparameter= mysql.ping,mysqladmin-uroot-pyy
After the use of Zabbix for monitoring, often because of the requirements of the project, the need for Zabbix data, two times to share and develop. How to obtain data from Zabbix is a problem to be solved in this practice.
There are two ways to Zabbix data sharing
1 through the database query, get the data. The premise
Zabbix add trigger TriggersInterested in Linux friends join QQ Group: 476794643 Online communicationThis article anti-theft chain: http://zhang789.blog.51cto.comOutline of this program
What is a trigger (triggers)?
Create a trigger that listens on 80 ports
Alarm Level Introduction
Zabbix Trigger Dependency Relationship
Zabbix Special top
Zabbix does not send emails. zabbix sends emails
Environment: CentOS 6.5 mini
Zabbix version: zabbix2.2.29-2.4.3
Exceptions are caused by the following causes:
1. The zabbix. sh script is abnormal.
# Cd/usr/local/zabbix/share/zabbix
Zabbix monitoring environment on-line deployment after a period of time, the alarm suddenly appeared "Zabbix poller processes more than 75% busy"In fact, there are many kinds of monitoring alarm Zabbix, more common than memory exhaustion, network is not through, Io is too slow and this "Zabbix poller processes more th
Zabbix monitoring sends email alerts to multiple users at the same time
Zabbix is a monitoring software, and alarm is essential. This article mainly introduces the configuration process of zabbix alarm to multiple people by email.
Instructions on zabbix mail alarm Configuration:
1. Prepare a script for sending emails.
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.