service is installed, if you want to uninstall can use Zabbix_agentd.exe--uninstall UninstallAfter completion, you can start Zabbix in the service, open-Computer Management-services-Find Zabbix Agent startedOr you can do it, zabbix_agent service is added to the serviceC:\bin\win64\zabbix_agentd.exe-c C:\conf\zabbix_agentd.win.conf-iStart commandC:\bin\win64\zabbix_agentd.exe-c c:\conf\zabbix_agentd.win.con
temperature is an important parameter for monitoring the operation of a single machine.There is no monitoring of the CPU temperature in the Zabbix preset template, so we need to use a custom key to monitor the temperatureComponents for which Windows does not have temperature monitoring need to use third-party software
Zabbix Monitoring A service, such as Crond,zabbix itself without this template, requires manual script writingScenario Description:192.168.10.10:zabbix Server192.168.10.11:zabbix Client2: Script contents are as follows:[email protected] scripts]# pwd/etc/
In general, the log first reflects the application of the current problem, in the mass log found in our abnormal records, and then recorded, and according to the situation alarm, we can monitor the system log, Nginx, Apache, business log. Here I take the common MySQL log to do monitoring, we look at the demo.
Monitor Log key
First to understand Key,log[file,
File: filename, write absolute path
RegExp: A
Zabbix server needs to install Java, compile need to add boot parameters--enable-java#zabbix服务器操作 (both Java and Tomcat need to be configured for this two-step procedure)cat/usr/local/zabbix/sbin/zabbix_java/settings.shlisten_ip= "0.0.0.0"listen_port=10052Start_pollers=12#zabbix服务器操作#JavaGateway现在和
("OK") 这里面的type value_type的意思可以去官网详细看看 我这里设置的是0 0 也就是代表 zabbix_agent float 相信有zabbix基础的同学是秒懂Let's take a look at the graphical interface of Zabbix:OK, to this end, the graph does not come out to see the script below:def graf_create (self, Authid):Neirong = {"Jsonrpc": "2.0","Method": "Graph.create","Params": {"Name": "Test1","width": 900,"Height": 200,"Gitems": [{"Itemid": "28257","Color": "00aa00"}]},"Auth": Authid,"ID": 4} response
1. Client first creates MySQL user for Zabbix connection database[[email protected] zabbix]# mysql-uroot-p123456-e "GRANT USAGE on * * to ' Zabbix ' @alhost ' identified by ' 12345 6 ' ";2. Establishing a database connection information file[email protected] zabbix]# vi/usr/local/z
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: Example:
After the entry, the leader let me start Zabbix monitoring deployment and specific maintenance. Monitoring PHP First is a very important thing. Zabbix monitoring php can be monitored by PHP with a status function, need to open in the configuration file, while the Nginx confi
I. Orabbix description Orabbix is a Zabbix plug-in tool for monitoring Oracle database performance by installing the data collected on the client on the monitored server and passing it to the Zabbix server, which is then displayed through a call graph. Has the following functions: 1, database version 2, archive file 3, wait for events (such as file I/O,
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
)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
average, divided into and out. If the script executes every 1 minutes, the calculated traffic value is the flat value of 1 minutes. The script has two parameters the first is the name of the network card, such as: Eth0, the second is in or out is in or out of the traffic, the script can calculate the machine on all the network card traffic as long as the first parameter change Eth0,eth1,lo and so on. But it's a pity that the first run will automatically create a temporary file for the *net[io].
Tags: print byte Visio technology Select MIT No etc connectionWould like to use a Python script to monitor MySQL, did not find relevant information, lazy toss, using the official self-monitoring template to monitor MySQLAdd a zabbix-agent configuration fileReplace the default userparameter_mysql.conf file with the content[email protected] zabbix_agentd.d]# cat userparameter_mysql.conf#UserParameter=mysql.st
after the installation of Zabbix , the default control MySQL template is not available, even if added, is also shown as a red unsupper, so we need to do some configuration . The first thing you need to do is to create a new license on the MySQL server that you want to control, so that the zabbix_agent can look up the repository and the status monitoring.
Mysql-uroot-pMysql-uroot-pMysql-uroot-p
Related environment:
Operating system
Describe
IP Address
Server05 (centos6.6)
Server-side
192.168.10.65
Server04 (centos6.6)
Client
192.168.10.64
first, the use of zabbix mail Alarm function1, installation SendMail[[Email protected]~]# service postfix stop #linux use postfix Mail Service By default , turn off Postfix first ,ss–tnl View port off
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.