摘要
对目前的运维告警系统的实现方法进行了研究,发现添加新告警规则时需停掉或者修改应用,同时添加后要重新编译和部署程序,存在增大告警系统规模及复杂性,导致告警不及时、运维效率低下的问题。深入分析研究后,提出一种基于QLExpress规则引擎的自动化运维告警系统,将业务场景和规则引擎解耦。首先将告警规则及逻辑写入QLExpress可以解析的脚本,然后通过管理控制台部署到指定的引擎实例,最后在定时任务的管控下执行脚本内容,最终通过微信或者钉钉方式将告警信息推送给用户。结果表明此种方式的告警达到了在不停应用的前提下实时添加或修改告警规则的目的,避免了运维系统结构的臃肿及复杂,实现了真正的实时告警,显著提高了告警效率。
This paper studies the implementation method of the current operation and maintenance alarm system.It is found that when adding new alarm rules,it needs to stop or modify the application.At the same time,it should recompile and deploy the program after the addition,which increases the size and complexity of the alarm system,the alarm not to be in time and the operation and maintenance inefficient.During analysis and research,an automatic operation and maintenance alarm system based on QLExpress rule engine is proposed,which decouples the business scenario from the rule engine.The alert rules and logic are firstly written to QLExpress-resolvable scripts,and then deployed to the specified engine instance via the administrative console.Thirdly,the script content is executed under the control of the scheduled task.Finally,the alarm information is pushed to the users.The results show that this method achieves a real-time addition or modification of alarm rules under the premise of continuous application,avoids the bloated and complicated structure of operation and maintenance system,realizes a real-time alarm,and improves the alarm efficiency significantly.
作者
张伟
杨大龙
陈丽
高中纤
韩波
Zhang Wei;Yang Dalong;Chen Li;Gao Zhongqian;Han Bo(Ji'nan Software Research Institute,China United Network Communication Co.,Ltd.,Ji'nan 250100,China)
出处
《信息通信技术》
2019年第S01期62-69,76,共9页
Information and communications Technologies