当前位置:网站首页>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 .
边栏推荐
- Go 语言错误处理为什么更推荐使用 pkg/errors 三方库?
- Crypto Daily: Sun Yuchen proposed to solve global problems with digital technology on MC12
- 【IDM】IDM下载器安装
- 虚拟串口模拟器和串口调试助手使用教程「建议收藏」
- Zhou Shaojian, rare
- 电脑照片尺寸如何调整成自己想要的
- Task. Run(), Task. Factory. Analysis of behavior inconsistency between startnew() and new task()
- SQLServer查询: a.id与b.id相同时,a.id对应的a.p在b.id对应的b.p里找不到的话,就显示出这个a.id和a.p
- Do280 management application deployment - pod scheduling control
- 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
猜你喜欢

学会了selenium 模拟鼠标操作,你就可以偷懒点点点了

PostgreSQL 存储结构浅析

Share the daily work and welfare of DJI (Shenzhen headquarters) in Dajiang

怎麼用MySQL語言進行行列裝置?

Embedded development: five revision control best practices

idea启动Command line is too long问题处理

ATSs: automatically select samples to eliminate the difference between anchor based and anchor free object detection methods

Use Tencent cloud to build a map bed service

【LeetCode】43. 字符串相乘

EndeavourOS移动硬盘安装
随机推荐
毕业后5年,我成为了年薪30w+的测试开发工程师
Thinkphp内核工单系统源码商业开源版 多用户+多客服+短信+邮件通知
程序员职业生涯真的很短吗?
【Hot100】20. Valid parentheses
全面看待企业数字化转型的价值
StoneDB 为国产数据库添砖加瓦,基于 MySQL 的一体化实时 HTAP 数据库正式开源!
分享在大疆DJI(深圳总部)工作的日常和福利
Win11如何设置用户权限?Win11设置用户权限的方法
用手机在同花顺上开户靠谱吗?这样有没有什么安全隐患
IM即時通訊開發實現心跳保活遇到的問題
UML旅游管理系统「建议收藏」
What is the digital transformation of manufacturing industry
制造业数字化转型究竟是什么
[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
Seata中1.5.1 是否支持mysql8?
Sales management system of lightweight enterprises based on PHP
Submission lottery - light application server essay solicitation activity (may) award announcement
The picgo shortcut is amazing. This person thinks exactly the same as me
Comment win11 définit - il les permissions de l'utilisateur? Win11 comment définir les permissions de l'utilisateur
Go 语言怎么使用对称加密?