I. Overview
Zabbix inside the content and project a lot, simply want to achieve simple monitoring a server roughly need a few big steps: Define modify template, add machine, set alarm trigger, and to simple, even the template can not modify, loaded directly add machine can, This example focuses on how to add a new machine under the Linux platform as a d
Nginx tcp stream monitoring for zabbix application SeriesNginx tcp stream monitoring for zabbix application Series
1. Implementation ideas
Native support
Obtain by analyzing logs
Obtain from Analysis Network
2. native support and Log AnalysisNginx's support for monitoring
The alarm process for Zabbix mail is as follows:
Host monitoring ---- monitoring items ---- triggers ---- alarm actions ---- alarm Methods ---- alarm users
Add metric items first
1. Select the host to add the metric item
2. Click Create item in the upper-right corner to add and configure metric items.
The key value mentioned above is explained here:
)EventID-Regular Expressiondescribing The event identifier (s)Maxlines-Maximum number ofnew lines per second the agent would send to Zabbix server or proxy. Thisparameter overrides the value of ' Maxlinespersecond ' inzabbix_agentd.win.conf Mode -Possible values: All (default), skip (Skip processing of olderdata).The mode parameter is supportedsince Zabbix 2.0.0.The item must is configured as an Active Chec
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
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 config
Recently deployed Zabbix monitoring, found that many DB servers are MySQL multi-instance status, MPM default MySQL monitoring can not effectively monitor the running state and replication relationship of MySQL, so for the dual-instance MySQL production of the manual Zabbix script m
First, add the hostOpen Zabbix of the Web InterfaceHttp://192.168.212.2/zabbix1 , Configuration---Hosts---createhost650) this.width=650; "title=" 1.png "style=" Float:none; "alt=" wkiom1wa_pjr1prraax4eitbfj8275.jpg "src=" http:/ S3.51cto.com/wyfs02/m01/6e/9d/wkiom1wa_pjr1prraax4eitbfj8275.jpg "/>Host name: This should be the agent configuration file definition of Hostname, we are 192.168.3.3. Visible Name: This is the display name, custom can be.
according to the path created)3. Edit the zabbix_agentd.win.conf master profile using a text editorTake the passive mode as an example and modify the following:Server=ip (IP address of zabbix-server) #ServerActive=127.0. 0.1 Comment out active mode debuglevel=3 turn on debug log hostname=KUAIYUN_WIN2008_A 4. Operation ServiceTo open cmd with administrator statusC:\
I. Overview of web monitoringIn this section, we will show you how to use Zabbix for URL monitoring, specifically for URL monitoring, such as PHP applications, as long as we can curl to this ok.php, we think this service is normal, Zabbix Web monitoring also have similar fea
Use zabbix's built-in key to monitor processes and ports
Every company has its own program, its own process name and port listening. For Nagios, these often need to write their own plug-ins, but zabbix does not need them, it has its own monitoring process and port key.
Before using the zabbix key to monitor processes and ports, I also wrote the plug-in myself, bu
Tags: Zabbix monitoringZabbix Application ExamplesAdd a custom monitoring itemLet's take an example: monitor the number of concurrent connections on a Web server 80 port and set up a graph.1. Write a script that can crawl the data and create a script on the client zabbix-agentvim /usr/local/sbin/estab.sh#!/bin/bashnets
Tags: monitoring custom nginx template zabbixAfter zabbix is installed, the template that comes with zabbix can only monitor cp, memory, hard disk usage, and so on. Next we will talk about how to use zabbix to monitor the nginx process of the server.Zabbix client: 192.168.10.2Zabbix server: 92.1610.1Zabbix client setti
Background:Today's research and development online configuration wrong, resulting in the company's website can not access, the results of the pan to our operations, gorgeous again back pot. But did not do web page monitoring is really our pot, no way, tears to take the next ...In order not to back the pot again, so the company's online site all do the monitoring. Here is the specific steps for Web page
Trigger functionhttp://www.ttlsa.com/monitor/zabbix/1, AbschangeParameters: Ignoring the parameters directly behindSupported value types: float, int, str, text, logDescription: Returns the absolute value of the difference between the most recently acquired and the previous value. For string types, 0 means equal values and 1 means different valuesFor example: {www.zabbix.com:vfs.fs.zise[/,free].abschange (10
the program, all the problems that affect the correct execution of the program are all exceptions, as long as the exception is caught and handled correctly will clearly know where the problem is, How to fix it. Therefore, in the early stages of design, if you do not make these plans in advance, you can only use boredom to deal with it later.Nonsense not to say, there are two methods can be easily implemented, posted here.Method 1: Write two scripts, one continuous run, one for the
I. Overview of web monitoringIn this section, we will show you how to use Zabbix for URL monitoring, specifically for URL monitoring, such as PHP applications, as long as we can curl to this ok.php, we think this service is normal, Zabbix Web monitoring also have similar fea
number is used, ASC represents ascending, and Desc is the descending.8) MySQL aggregate function: sum (), COUNT (), AVG (), Max (), AVG () are all aggregate functions, when we use aggregate functions, we usually use Group by to group by first, and then perform the operation of the aggregate function. After the operation, it is necessary to use the HAVING clause to judge, such as whether the value of the aggregate function is greater than a certain value and so on.From the
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.