Essentially, Zabbix is also an application system like other monitored systems. Therefore, its status and performance data also need to be collected and monitored. In order to understand its running performance and status, and then optimize its performance or perform necessary system hardware upgrades when necessary, or even change its architecture. For example, in an organization, the number of monitored devices and monitored projects increases rapid
Introduction of monitoring System Foundation and Zabbix
Zabbix working principle and installation configuration
Getting Started with Zabbix configuration
Getting Started with Zabbix configuration
First, monitoring System Foundation and
Because of the need to monitor company-specific services, writing scripts to get the information that each process consumes system resources, using Zabbix to capture that data for the underlying monitoring of a particular process.My main need to monitor the program is as follows:Nginx Redis MySQL Tomcat Sentinel MongoDB openfire Kafka zookeeper Twemproxy MycatFirst, write the monitoring script on the agent side, the script content is as follows:[[Emai
Description
The Zabbix monitoring server is already configured to monitor the switch using Zabbix.
Specific actions:
The following operations are performed on the monitored switches, for example,
Cisco switches.
First, log on to the Cisco switch and turn on the SNMP service
Note: Log on to switch privileged configuration mode using Telnet or emulation ter
DescriptionThe ZABBIX monitoring server has been configured to monitor Linux hosts using Zabbix.Specific operation:The following operations are performed on the monitored Linux hosts, with the CentOS 6.x system as an example.First, configure the firewall, open 10050, 10051 TCP and UDP portsVi/etc/sysconfig/iptables #编辑防火墙配置文件-A input-s 192.168.21.127-m state--state new-m tcp-p TCP--dport 10050:10051-j ACCEPT-A input-s 192.168.21.127-m state--state new
Using the Java language to invoke the Zabbix API to get monitoring data
1, create the Request class
Import Java.util.HashMap;
Import Java.util.Map;
Import Com.alibaba.fastjson.JSON;
public class Request {private String JSONRPC = "2.0";
Private map
2, create the call () method
Public Jsonobject Call (Request request) throws URISyntaxException {
if (request.getauth () = null) {
Request.setauth (auth);
}
String url = "Zabbix_url";
t
First, install the LEMP environmentDownload the installation package: Wget bbs.linuxtone.org/docs/autoinstall/lemp_auto_v1.0.6.tar.gzPackage decompression: Tar zxvf lemp_auto_v1.0.6.tar.gzGo to folder: CD LempAssign permissions: chmod 777 *Installation:./lemp.shEnterSelect a, enter (install nginx+mysql+php)Enter (two steps above, directly enter, because the default is a option)Wait for the installation to complete.Second, download Zabbixwget http://nchc.dl.sourceforge.net/project/
Because there is already a PHP running environment, you only need to compile and install Zabbix.First, install dependent components
Yum-y Install NET-SNMP net-snmp-devel perl-dbi php-gd php-xml php-bcmath fping openipmi-devel php-mbstring
Ii. Compiling and installing Zabbix
①, download Zabbix
Cd/usr/local/srcWget-o zabbix-2.4.3.tar.gz-c "http://sourceforge.net/pr
Zabbix-2.2.1 download locationHttp://downloads.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2.2.1/zabbix-2.2.1.tar.gz
Objective: To create a zabbix server RPM package for convenient software distributionInstallation path:
Application:/apps/svr/
Description
Zabbix monitoring Server, the client has been deployed to complete, the monitoring host has been added, Zabiix monitoring operation is normal.
To achieve the purpose:
Set up mail alerts on the Zabbix server and automatically send alert messages to designated mailboxes when the monitored host is down or when the trigger defaults are reached.
Specific actions:
The following operations are pe
Description
Zabbix monitoring Server, the client has been deployed to complete, the monitoring host has been added, Zabiix monitoring operation is normal.
To achieve the purpose:
Set up mail alerts on the Zabbix server and
automatically send alert messages to designated mailboxes when the monitored host is down or when the trigger defaults are reached.
Specific a
Tags: zabbix percona mysql linux monitoring Zabbix configurationSoftware version:Redhat6.9zabbix-3.4.7Percona mysql-5.7.20Preparatory work:Shut down the firewall, or add the appropriate port.Turn off SELinux———— (Install the following Zabbix dependency package) ————# # # #这里的包是我网上找的, please reply if necessary. #####RPM-IVH *.rpmfping-3.5-3.el6.x86_64.rpmiksemel-1
need:The main purpose of this project is to achieve a public platform for community students, the purpose of which is to provide information to the students, to provide services for the community, to establish links between the community and students. After investigation, we found the following requirements:Requirement One: The society publishes the information,
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.