regularly, reducing the amount of server concurrencySecond, Zabbix common termsHost: The network device to monitor, which can be specified by IP or DNS nameHost group: Logical container for hosts, including host and configuration templatesMonitoring item: The data of a particular monitoring indicator, which is derived from the monitored objectTrigger (Trigger): An expression that evaluates whether the data
Zabbix sometimes a time-out when fetching data, if some data need to take a long time to obtain, then Zabbix will appear exception, considering this situation, Zabbix added trapper function, the client submits data to Zabbix.Trapper is to be monitored host actively send data to Zabbix server, and the difference between
monitoring item, and the template provided is a semi-finished template, you need to design the appropriate template according to your needs, so as to achieve the purpose of monitoring. Overall, Pyora is characterized by simple, open source, easy to expand, but the overall is not very complete.Well, every blog begins with a routine crap and starts getting to the point.First, we need to download Pyora, a link to GitHub found on the
After you deploy Zabbix server, you naturally deploy the Zabbix agent. In the official description, the agent is deployed on the monitored machine to collect statistics on CPU, memory, disk, etc., and escalate it to the server for further processing. The method of collecting information of agent is also very efficient, which is done through the system call of native operating system.Agent mainly through the
'} '} functionhandled {/usr/bin/curl"/http $HOST: $PORT/nginx_status"2>/dev/NULL| awk nr==3| Awk' {print $} '} functionrequests {/usr/bin/curl"/http $HOST: $PORT/nginx_status"2>/dev/NULL| awk nr==3| Awk' {print $} '} # Run The requested function $
Third, create the Templates App nginx template in the Zabbix Web interface(1), first create three item, this store value requires a change per second
Ngin
Zabbbix can be used for centralized monitoring and analysis of log files that support/do not support rollover.When a log file contains a specific character or character pattern, Zabbix sends an alarm message to the user.To log file monitoring, the following is requiredZabbix Client Agent (Zabbix agent)Set monitoring entries for log file monitoringThe size of the monitored log file depends on the large file
. Configuring monitoring items in the Zabbix Web 1, add two auto-discovery, a database instance auto-discovery, a database table space automatic discovery. 2, add the need to monitor the item and trigger, etc. Vi. Effects in Latest data Three X applications groups Monitoring items in all instances Usage of all tablespaces in all instances Theoretically, this architecture can meet the requirements
Zabbix as long as the discovery function is turned on, this alarm will appear,650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/85/F8/wKioL1exPxeyYcw_AACDZp7PX-U776.png "title=" 1.png " alt= "Wkiol1expxeyycw_aacdzp7px-u776.png"/>The problem is to be optimized, the more simple and brutal way is to turn off the discovery function, embarrassing ~So what is the way to be embarrassed?Find Zabbix_server under the zabbix_server.conf, find the Startd
A description of the problem:Web monitoring is added to a host, and when the host is not removed from the Zabbix page, the Web monitoring data on the Zabbix page can still be received on the host computer. In fact, the host is unreachable after the Zabbix page should not see any monitoring data on this host, but the only self-hosted web monitoring can see the dat
Description
Operating system: CentOS
IP Address: 192.168.21.127
Web environment: nginx+mysql+php
Zabbix version: Zabbix 2.2 LTS
Note: Linux installation Zabbix need to have lamp or LNMP operating environment
Installation article
First, create, import
Reprint Please specify source: http://blog.csdn.net/luotuo44/article/details/42913549Lock level:As you know from the previous Extension hash table: When the hash table is extended, there is a dedicated thread that is responsible for migrating the item data from the old hash table to the new hash table (this thread is also called the migration thread). In addition, there are worker line routines that occasionally access
Roles for ZABBIX GRANT CONNECT to ZABBIX; GRANT RESOURCE to ZABBIX; ALTER USER ZABBIX DEFAULT ROLE all; REM 5 System privileges for ZABBIX GRANT SELECT any TABLE to ZABBIX; GRANT CREATE SESSION to
Environment Description:
Environment
IP
Server-side
192.168.209.12
Client
192.168.209.13
Experimental conditions:Zabbix monitoring Server, the client has been deployed to complete, the monitored host has been added to complete, Zabbix monitoring operation is normal.Purpose of implementation:Zabbix Monitoring Server Set up the mail alarm, when the monitored host is down or
version of the directory you downloadedTo modify the Zabbix configuration file:vi /etc/zabbix/zabbix_server.confdbhost=localhostdbname=Zabbixdbuser= Zabbixdbpassword=zabbixDbsocket=/var/lib/mysql/mysql.sockFind the appropriate item to modify, and to correspond with your own environment,Dbhost data address, dbname database name Dbuser connect mysql username dbpa
Recently in the thinking of a problem, the online server run a variety of services, it may be running Nginx, another run is MySQL, the other is to run NFS or other services, etc. Through a certain script fixed write some services to implement monitoring all the server's process resource consumption Zabbix server resources do not say, if the server ran the service is not on the fixed list, the monitoring service can not get the corresponding data.In or
Tags: database1) Event table1.1) Source field: Type of event0-event created by a trigger; Events created by triggers
1-event created by a discovery rule; events created by discovery rules;
2-event created by active agent Auto-registration; event agents are automatically registered to create events;
3-internal event. Internal events1.2) Object field: Event-related object typePossible values for trigger events: the possible values of the triggering event:
0-trigger. Trigger
Possible values for di
If your Zabbix Admin password is too weak or use the default password (Admin/zabbix), and the hacker cracked the password, Zabbix server in front of the hacker has no resistance. Hackers can create "system.run[command," Monitoring items to execute commands, and even get the server shell to get root privileges. First introduce "System.run[command,", this monitorin
data according to your own situation with the new time, I changed to 5 secondsOther values are good by defaultCreate a TriggerName: Mysql.slave-statusSeverity: WarningProblem form: Add--Select Monitoring Item Mysql.slave-status function: Latest T-value After adding the expression is this: {mysql.slave-status:mysql.slave-status.last ()}Restore expression: Add-Select Monitoring Item Mysql.slave-status functi
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.