Zabbix monitors PHP status
Zabbix monitors the PHP status and uses nginx to call php-fpm to query the php status information.First, add a line to the php configuration file.
Vim/usr/local/php/etc/php-fpm.confPm. status_path =/phpfpmstatus
Restart php-fpm after saving
Add code to the nginx configuration fileServer{Listen localhost: 80;Server_name localhost;Location/nginxstatus {Stub_status on;Access_log off;
Zabbix monitors Nginx status
Zabbix monitors the Nginx status. First, add the following code to the nginx configuration file:
Server{Listen localhost: 80;Server_name localhost;Location/nginxstatus {Stub_status on;Access_log off;Allow 127.0.0.1;Allow 192.168.1.165;Deny all;}}Restart nginx after saving
Create a script in the zabbix Script directory to monitor the
Prepare MySQL, create a Zabbix database, and change the character set to UTF8MariaDB [(None)]> CREATE database Zabbix character set UTF8; Query OK, 1 row affected (0.09 sec)To authorize a remote user, this step is required if MySQL and Zabbix are not under the consent host:MariaDB [(None)]> grant all on zabbix.* to ' z
I. First download the zabbix 2.0.3 source code package on the official website:
Http://www.zabbix.com/download.php
2. Configure the installation environment on ubuntu_server_12.04:# Apt-Get update# Apt-Get install apache2 mysql-server mysql-client PhP5 php5-gd php5-mysql libapache2-mod-php5 libcurl4-openssl-dev libsnmp-Dev
Configure the database:# Mysql-u Mysql> Create Database zabbix Character Set utf8;My
The production environment on the line of more than one Linux server, the need to all into the Zabbix monitoring category, a Taiwan to install Zabbix Agentd plug-ins that is too hard, fortunately Zabbix client plug-in is to support the green installation, wrote a simple one-click installation script, and then cooperate with Multi-Window interactive commands for S
1.Linux Server Installation Zabbix monitoring platformZabbix is an open source distributed monitoring platform based on web interface, can monitor the configuration parameters of various servers, support custom configuration and custom alarms, and can realize the alarm of mail, SMS and so on, Zabbix basic components are as follows:Zabbix_server:zabbix Server daemon, all monitoring data will be consolidated
Installation of Zabbix in a lamp environment some problems ariseThe installation lamp is omitted.
Create Zabbix users and let users not log inUseradd zabbix-m-s/sbin/nologin Zabbix
Yum installs the following packages that require support for ZabbixYum install-y crul-devel unixodbc-devel net-snmp net-snmp-devel li
As an excellent monitoring software, zabbix not only generates alarms when a fault occurs, but also generates related charts to analyze network traffic, CPU load, and other conditions.
1. Download and decompress the package and the yum Environment
Yum install net-snmp-devel php-bcmath # depending on the actual system environment, if some libraries are missing behind, you can re-yumwget http://superb-dca2.dl.sourceforge.net/project/
This article describes how to install and configure Zabbix to monitor MySQL. Zabbix has the function of displaying data on the web page. the installation environment in this article is CentOS. For more information, see
Simple installation and configuration of Zabbix1. install zabbix on the basis of the existing LAMP or LNMP and install some dependent packages:
When installing the client, the package and server are the same, but the Configure configuration parameters are different.
Add users, user groups, unpack packages
The code is as follows
Copy Code
[ROOT@LOGSEC/USR/LOCAL/SRC]#groupadd Zabbix-g 201[ROOT@LOGSEC/USR/LOCAL/SRC]#useradd-G zabbix-u 201-m Zabbix[ROOT@LOGSEC/USR/LOCAL/SRC]#tar
Label:First, installation environment Ubuntu 14.04LTS Postgresql-9.4.3 zabbix-2.4.5 httpd-2.4.12 php-5.6.10 Second, the choice reason The reason for choosing the PostgreSQL database is that Zabbix's data business is relatively complex, more advantageous than MySQL, and MySQL's data sheets are prone to bad and often need to be repaired. Now, although Nginx is more popular, but for high stability, and do not need high concurrency of the application, rec
Just a year later, I found that zabbix's mysql backup file was unusually large during routine checks on server backup data, considering that zabbix regularly sends alerts and SQL records stored during monitoring during routine monitoring of server status, I checked the database table of zabbix, it is found that the database directory of zabbix under the mysql Sys
System environment: Centos 6.8,lnmp,zabbix 3.0.3First, prefaceZabbix is an enterprise-class, open-source, distributed monitoring suite, monitoring linux,windows, switching routing equipment, etc., which has become the most mainstream monitoring system nowadays. This Zabbix build is based on the previous blog LNMP environment to build the deployment, part of the preliminary preparation and the original LNMP.
Simply for your own records to view later# This was a configuration file for Zabbix Server process# to get more information about Zabbix,# visit http://www.zabbix.com############ General PARAMETERS ################## # Option:nodeid# Unique NodeID in Distributed setup.# 0-standalone Server## Mandatory:no# range:0-999# Default:#说明: The server-side node id,0 represents only one server, and is used primarily f
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 Template page, we can see 14 Items in the Te
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.