当前位置:网站首页>Zabbix2.2 monitoring system and application log monitoring alarm
Zabbix2.2 monitoring system and application log monitoring alarm
2022-07-01 16:20:00 【Brother Xing plays with the clouds】
Previously, I introduced zabbix System monitoring and alarm settings ( see http://www.linuxidc.com/Linux/2014-06/103776.htm),zabbbix It can also be used to support / Centralized monitoring and analysis of overturned log files are not supported . For example, system logs /var/log/message /var/log/secure etc. . When a log file contains specific characters or character patterns ,zabbix Send alarm information to users .
Don't talk much and start operation , choice Configuration-templates-Template OS Linux Templates , Or customize the template being used , choice item-create item
There are several places to confirm :
type: One to choose zabbix agent active
key:log[ The file name has a format : Log file path ,,,,]
for instance :
log[/var/log/message] log[/var/log/secure] etc.
After configuration, click save. If the configuration is correct , You can see that the state is enable Of .
And then to monitoring-lastdata You can see the data with logs .
Finally, you can see the log
Of course , If there is any other need , You can also add other logging options .
Add log monitoring here to complete , So how to set the alarm , So let's look down
First, find the one you just added item, You will find a text like symbol in front , Click to show create trigger
According to your own needs , Configure alarm options
When it's done , When a specific character or character pattern appears in the log ,zabbix Send alarm information to users .
边栏推荐
- 基于PHP的轻量企业销售管理系统
- process.env.NODE_ENV
- Which MySQL functions are currently supported by tablestore in table storage?
- She is the "HR of others" | ones character
- 怎么用MySQL语言进行行列装置?
- Microservice tracking SQL (support Gorm query tracking under isto control)
- Origin2018安装与使用(整理中)
- Sqlserver query: when a.id is the same as b.id, and the A.P corresponding to a.id cannot be found in the B.P corresponding to b.id, the a.id and A.P will be displayed
- 【Hot100】19. Delete the penultimate node of the linked list
- 芯片供应转向过剩,中国芯片日产增加至10亿,国外芯片将更难受
猜你喜欢
![[nodemon] app crashed - waiting for file changes before starting...解决方法](/img/ee/9830afd86e092851a2a906cb994949.png)
[nodemon] app crashed - waiting for file changes before starting...解决方法

2023届春招实习-个人面试过程和面经分享

复杂度相关OJ题(LeetCode、C语言、复杂度、消失的数字、旋转数组)

Where should older test / development programmers go? Will it be abandoned by the times?

Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist

The picgo shortcut is amazing. This person thinks exactly the same as me

process.env.NODE_ENV

IM即時通訊開發實現心跳保活遇到的問題

Summer Challenge harmonyos canvas realize clock

ATSs: automatically select samples to eliminate the difference between anchor based and anchor free object detection methods
随机推荐
芯片供应转向过剩,中国芯片日产增加至10亿,国外芯片将更难受
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
2023届春招实习-个人面试过程和面经分享
Where should older test / development programmers go? Will it be abandoned by the times?
基于PHP的轻量企业销售管理系统
FPN网络详解
[SQL statement] Why do you select two Shanghai and query different counts here? I want it to become a Shanghai, and count only displays a sum
Overview | slam of laser and vision fusion
怎麼用MySQL語言進行行列裝置?
How to adjust the color of the computer screen and how to change the color of the computer screen
Sweden announced its decision to exclude Huawei 5g equipment, but Huawei has successfully found a new way out
部门来了个拿25k出来的00后测试卷王,老油条表示真干不过,已被...
The Department came to a Post-00 test paper king who took out 25K. The veteran said it was really dry, but it had been
【Hot100】17. Letter combination of telephone number
[IDM] IDM downloader installation
IM即時通訊開發實現心跳保活遇到的問題
MLPerf Training v2.0 榜单发布,在同等GPU配置下百度飞桨性能世界第一
Comprehensively view the value of enterprise digital transformation
Sales management system of lightweight enterprises based on PHP
【IDM】IDM下载器安装