Tags: mysql ZabbixUsing Percona to monitor a databaseNeed. PHP php-mysql and this package belowDownload packagewget https://mirrors.tuna.tsinghua.edu.cn/percona/yum/el7/percona-zabbix-templates-1.1.7-2.noarch.rpm
Yum install-y PHP Php-mysqlInstallation[Email protected] ~]# RPM-IVH percona-zabbix-templates-1.1.7-2.noarch.rpm
Warning:Percona-zabbix-templates-1.1.7-
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 Special Topic: The tenth Chapter Zabbix SNMP mode monitoring (SNMP is basically monitoring network equipment, this article introduces point theory knowledge)Overview
If we need to monitor the printers, routers, UPS and other devices, must not use Zabbix agentd, because they can not install software, fortunately they generally support the SNMP prot
Shell scripts fall into three categories: logon scripts, interactive scripts, non-interactive scriptsOneThe logon script is similar to the logon script in the computer settings under Windows and the collection of logon scripts under Account settings (I understand that well).The keyword for its profile is Prefile, which
How to Implement the active registration function of Zabbix to implement zabbix
Active Agent Auto-Registration. As the name suggests, you do not need to manually add host information on Zabbix Web to monitor hosts.
It is automatically registered with the Server by the Agent.
Compared with another similar function-network discovery, it does not need to know the IP
Zabbix optimization, zabbix
Zabbix optimization 1
Recently, zabbix has been sending the following alarms. When it appears, the host obviously feels slow, and 300 + IOPS and 30 + % cpu IOwait can be seen in actual monitoring.
Zabbix housekeeper processes more than 75% bus
PHP obtains server monitoring information through the Zabbix API and zabbix server monitoring
The open-source monitoring system Zabbix provides a wide range of APIS for third-party systems to call.
The basic steps are as follows:
1. Obtain valid authentication. Connect to the Zabbix URL and provide the user name and pa
Tags: netstat technology online grep images strong no net GesAfter configuring the Zabbix server, it was found that thevalue of "Zabbix is running" was "no", By: Netstat-atnlp|grep 10051 found no 10051 ports for Zabbix_server . Find a lot of ways on the Internet, found that it does not work. See the following error message by looking at the log: Tail/tmp/zabbix_server.log Workaround: Log in to MySQL w
Monitor Nginx StatusFirst, add the following code to the Nginx configuration fileServer{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 savingCreate a script in the Zabbix script directory to monitor the Zabbix status#!/bin/bash# Script to fetch nginx statuses for tribily monitoring systems# Auth
to connect to the company's internal servers.
2. Configure the zabbix configuration file.
1) First, we configure the zabbix configuration file so that it supports scripts for the warning media.
Modify zabbix_server.conf
# Alertscriptspath =$ {datadir}/zabbix/alertscripts
Is
Alertscriptspath =/usr/loca/
template is added in the same way as above, not in the following.8.3 Select the corresponding template on the appropriate host or group associationTo associate a template with a host or groupNine, the actual monitoring effect displayViewing the monitoring effect can be viewed monitoring-->latest data, filtering out the corresponding host and application name for viewing, the latest collection of the item's monitoring results, any monitoring to the data item will display the data, there is a gra
Zabbix has been deployed on ubuntu servers for monitoring over the past few days. The process encountered some problems and recorded them. Hope to help you. Source: http://www.jincon.com/archives/169/
Remember that the latest zabbix version is not recommended ~~~~ Find a minor version.
An error occurred during the installation process:
Zabbix red pop-up error:
=my.net.if[*],/usr/local/sbin/zabbix/net.sh
description : Userparameter used to customize the key value, (similar to net.if.in), their own script will often have parameters, so need to add, this is a fixed notation, if the script does not have any parameters, then this is saved. After the comma is the path of the script we wrote, and then the parameters to use, there are a few to write a few.2. Writing
Fping for Zabbix automatic discovery, fping for Zabbix
Originally published in cu:
The Zabbix automatic Discovery function is relatively simple in the configuration process: Discovery and Action.
The automatic detection function does not take effect when the "ICMP ping" check method is used for automatic discovery and verification of Zabbix.I. Environment 1.
First, install the Grafana-zabbix1. On the zabbixserver server, install GrafanaYum Install https://grafanarel.s3.amazonaws.com/builds/grafana-2.1.1-1.x86_64.rpm2, download Grafana Zabbix plugin, downloaded in git, if you cannot run the following command, you can first "# Yum install git" installation of this command[[email protected] ~]# git clone Https://github.com/linglong0820/grafana-zabbix3. Copy the plugin to the Grafana file[Email protected] ~]#
=192.168.37.130Timeout=8 #超时时间改为8即可 If the server-side Zabbix_get tests the prompt time-out when the key value is obtained, modify adjustments can be madeInclude=/usr/local/zabbix/etc/zabbix_agentd.conf.d/web_site_discovery.conf #子配置文件, there is also a way to directly in the agent.conf configuration file " Userparameter= "write the corresponding key valueUnsafeuserparameters=1"Custom Low Level Discovery Auto Discovery Script"Mkdir-p/usr/local/
;source /tmp/zabbix-1.1.6/create/mysql/schema.sqlMySQL>source /tmp/zabbix-1.1.6/create/data/data.sqlMySQL>source /tmp/zabbix-1.1.6/create/data/images.sql
Install and configure Zabbix
Decompress the package, compile the downloaded Zabbix package, and set the configuration fil
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.