First, the production environment:Os:centos Release 6.8 (Final)Web Server Software: apache/2.2.15 (Unix)PHP Operating Environment: PHP 5.4.45 (CLI) (Built:aug 14:41:13)Database system: MySQL Ver 14.14 distrib 5.5.49, for Linux (x86_64) using ReadLine 5.1Web Environment: lamp=linux+apache+mysql+phpSecond, Zabbix software package Download:Download page:http://www.zabbix.com/download.php[Email protected] html]# wgetHttp://jaist.dl.sourceforge.net/proj
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
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
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
Environment:
Xen
Centos 5.4 64 bit
Zabbix 1.8.1
1. Create a Virtual Machine (omitted)
2. Install centos 5.3 64-bit
Because it is only used to install zabbix server, only install base system.
Select customize now.
Here, only base in base system is selected.
About 15 minutes later, centos has been installed.
The first time you enter the system, the setup agent will appear
Disable the firewall function for eas
Zabix Introduction Zabbix (with Z? ) Bix) is an enterprise-class open source solution that provides distributed system monitoring and network monitoring capabilities based on a web interface.
Zabbix can monitor various network parameters, ensure the safe operation of the server system, and provide a flexible notification mechanism to enable system administrators to quickly locate/resolve various p
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
1. Manually Install Zabbix client
(1) Download Windows Zabbix Client
From the official Download Zabbix agent, the package contains 2 directories, one for Win32, the other is Win64, each directory should have 3 files, respectively: Zabbix_agentd.exe zabbix_get.exe zabbix_ Sender.exe
Depending on the operating system, place the file in the C:\
Tags: mechanism har function str inpu RMI Platform Maintenance OpenBrief introduction:Zabbix is an enterprise-class open source solution that provides distributed system monitoring and network monitoring capabilities based on a web interface.Zabbix can monitor various network parameters, ensure the safe operation of the server system, and provide a flexible notification mechanism to enable system administrators to quickly locate/resolve various problems.Zabbix consists of 2 parts,
Tags: ZabbixZabbix Monitoring Introduction
c/S architecture, based on the development, Monitoring Center support Web Interface Configuration and management
Single server node can support tens of thousands of clients
Latest Version 3.4, Official document Https://www.zabbix.com/manuals
5 components
Zabbix-server Monitoring Center, receiving client escalation information, responsible for configuration, statistics, operation of data
Data sto
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.