CheckMK告警处理器日志错误:触发但无法运行脚本
环境信息
- CMK版本:Checkmk Enterprise Edition 2.1.0p28
- 操作系统版本:Ubuntu 20.04.6 LTS
错误信息
— Logging error — Traceback (most recent call last): File “/omd/sites/Site01/lib/python3/cmk/base/events.py”, line 112, in event_keepalive event_function(context) File “/omd/sites/Site01/lib/python3/cmk/base/cee/alert_handling.py”, line 205, in process_alert execute_alert_rules(raw_context) File “/omd/sites/Site01/lib/python3/cmk/base/cee/alert_handling.py”, line 216, in execute_alert_rules execute_alert_handler_rule(rule, context) File “/omd/sites/Site01/lib/python3/cmk/base/cee/alert_handling.py”, line 321, in execute_alert_handler_rule run_process_alert_handler(handler_name, handler_params, context) File “/omd/sites/Site01/lib/python3/cmk/base/cee/alert_handling.py”, line 383, in run_process_alert_handler handler_pid, handler_pipe = run_alert_handler_async( File “/omd/sites/Site01/lib/python3/cmk/base/cee/alert_handling.py”, line 442, in run_alert_handler_async os.execv(handler_path, command_line_arguments) File
问题详情
已将alert_handlers文件夹及指定jenkins.sh脚本权限改为777以排除权限问题,但仍无法定位故障原因。该故障在所有服务器上均会出现,看似与脚本本身、告警处理器配置无关;且告警处理器曾在当前版本下正常运行,因此也排除版本变更因素。
(附截图:
)
内容的提问来源于stack exchange,提问作者Quinn Favo
相关产品推荐
相关产品推荐

