60 Commits

Author SHA1 Message Date
PhsySimon
c0df44cccf xalarm add alarm msg length restriction to 8192 2024-10-10 18:57:28 +08:00
openeuler-ci-bot
d2f28fc58e
!67 add dependency
From: @boluo56 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
2024-10-10 10:21:32 +00:00
jinsaihang
8b7a7d0b72 add dependency for sysSentry and avg_block_io
Signed-off-by: jinsaihang <jinsaihang@h-partners.com>
2024-10-10 16:30:23 +08:00
openeuler-ci-bot
0183fb658c
!64 update ebpf collector
From: @znzjugod 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-10-10 05:02:22 +00:00
znzjugod
36b5fd0ac2 modify iodump threhold from 1000 to 1000000000 and fix iodump in right turn 2024-10-10 12:15:59 +08:00
openeuler-ci-bot
e6eb4303b3
!62 fix-config-relative-some-issues.patch
From: @hyz2024 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-10-09 11:47:46 +00:00
贺有志
45a6468200
add fix-config-relative-some-issues.patch
Signed-off-by: 贺有志 <1037617413@qq.com>
2024-10-09 11:19:40 +00:00
openeuler-ci-bot
d6e411e73a
!61 fix get_alarm length and timestamp
From: @hubin95 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-10-09 09:12:12 +00:00
hubin
12e5c0628e fix get_alarm length and timestamp 2024-10-09 17:03:29 +08:00
openeuler-ci-bot
d4b8b3ffd9
!60 update ebpf collector
From: @znzjugod 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-10-09 08:53:12 +00:00
znzjugod
772fa586a8 update ebpf log and fix bugs 2024-10-09 16:37:10 +08:00
openeuler-ci-bot
f9e5005c0a
!56 update log when it is not lock collect
From: @zhuofeng6 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-10-09 08:30:32 +00:00
zhuofeng
72743ceab8 update log when it is not lock collect 2024-10-09 16:19:49 +08:00
openeuler-ci-bot
86c66363d7
!53 avg_block_io send alarm to xalarmd
From: @zhuofeng6 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-10-09 07:30:40 +00:00
zhuofeng
9c32c7c65f avg_block_io send alarm to xalarmd 2024-10-09 15:13:19 +08:00
openeuler-ci-bot
2f92d3ecb0
!50 修复python3.7不支持list[bool]的类型标注语法问题
From: @pshysimon 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
2024-10-09 03:39:17 +00:00
PshySimon
2f5ec6c14b fix python 3.7 not support for list[bool] type 2024-10-09 11:27:09 +08:00
openeuler-ci-bot
d9955d3054
!49 added function:sentryctl get_alarm <module_name> -s <time_range> -d
From: @boluo56 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
2024-10-08 14:23:20 +00:00
jinsaihang
7caa6a500f add alarm event query function
Signed-off-by: jinsaihang <jinsaihang@h-partners.com>
2024-10-08 22:11:37 +08:00
openeuler-ci-bot
334daea025
!48 新增pyxalarm和pySentryNotify库,xalarmd新增对多用户的支持
From: @pshysimon 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
2024-10-08 13:41:31 +00:00
PshySimon
37a41348df add pyxalarm and pysentry_notify, xalarmd support for multi users 2024-10-08 21:08:17 +08:00
openeuler-ci-bot
b105061097
!43 update ebpf collector
From: @znzjugod 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-09-30 13:02:23 +00:00
znzjugod
1885a40474 add ebpf collector 2024-09-30 20:39:57 +08:00
openeuler-ci-bot
c33d980f1e
!42 修改AI阈值插件遗留的issues问题
From: @hyz2024 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-09-30 09:36:41 +00:00
贺有志
861513df1f
fix ai_block_io some issues
Signed-off-by: 贺有志 <1037617413@qq.com>
2024-09-30 09:28:41 +00:00
openeuler-ci-bot
0e12a60210
!38 相关日志格式以及日志打印修改
From: @zhuofeng6 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-09-29 01:58:11 +00:00
zhuofeng
b0bca62642 相关日志格式以及日志打印修改
相关冗余代码删除
当磁盘disk字段设置为default的时候,采集不生效的情况
2024-09-27 17:08:16 +08:00
openeuler-ci-bot
0062ae0941
!34 相关bug修复和优化
From: @zhuofeng6 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-09-26 12:02:30 +00:00
zhuofeng
0905a57868 相关bug修复和优化
1、配置文件选项值相同的时候去重
2、配置项大小写敏感
3、配置了不存在的磁盘时,日志给出相关告警提示
4、一些拼写错误
5、avg_block_io.ini配置文件中,不同section缺失的检验行为不一致
6、avg_block_io.ini配置文件中common.disk和common.stage选项参数解析异常
2024-09-25 16:48:41 +08:00
openeuler-ci-bot
6c6ae54eb4
!31 [sync] PR-28: 新增AI阈值慢IO检测
From: @openeuler-sync-bot 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-09-25 08:44:04 +00:00
贺有志
492addf075 add ai threshold slow io detection plugin
Signed-off-by: 贺有志 <1037617413@qq.com>
(cherry picked from commit ec6f42737a822199e3f842fa468a74ecb0deeec0)
2024-09-25 11:23:09 +08:00
openeuler-ci-bot
38e97c658b
!27 修改相关bug
From: @zhuofeng6 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-09-20 06:42:26 +00:00
zhuofeng
4e1a7951ff 修改相关bug
1、当环境本身就超过10个disk,配置成default会导致配置有问题
2、调用巡检任务停止接口后,回显状态有误
3、重构相关代码和修改日志级别
2024-09-20 14:24:05 +08:00
openeuler-ci-bot
9a453a260d
!26 add collect module and avg_block_io plugin to sysSentry
From: @zhuofeng6 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-09-14 03:05:34 +00:00
zhuofeng
ee153a027b add collect module and avg_block_io plugin to sysSentry 2024-09-14 10:35:09 +08:00
openeuler-ci-bot
b485ce6343
!24 修复没有安装cpu_sentry包的时候,syssentry服务启动失败的问题
From: @zhuofeng6 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-09-14 02:10:05 +00:00
zhuofeng
284ff94c8b fix syssentry fails to be started when cpu_sentry is not installed 2024-09-14 09:45:31 +08:00
openeuler-ci-bot
cbefd05b36
!22 [sync] PR-21: fix configparser.InterpolationSyntaxError
From: @openeuler-sync-bot 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-09-11 03:29:21 +00:00
shixuantong
e6bae7867c fix configparser.InterpolationSyntaxError
(cherry picked from commit bed7a4f3927cdf6990be075242a57d9bc8327ea7)
2024-09-11 11:13:32 +08:00
openeuler-ci-bot
66219b7f2d
!19 split sysSentry and cpu_sentry
From: @pshysimon 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-09-10 03:06:47 +00:00
root
024657dbe4 split cpu_sentry and syssentry 2024-09-09 11:38:11 +08:00
openeuler-ci-bot
939042b4db
!17 Remove ANSI escape sequences
From: @tong_1001 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-09-04 01:40:43 +00:00
openeuler-ci-bot
31f314277d
!15 CPU巡检程序建议依赖ipmitool
From: @tong_1001 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-08-31 06:46:23 +00:00
shixuantong
b319b74e5d add ipmitool to Recommends for cpu_sentry 2024-08-31 14:19:42 +08:00
openeuler-ci-bot
2ae3d80d42
!14 [sync] PR-13: add deleted code to plugin rasdaemon
From: @openeuler-sync-bot 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-08-31 02:30:47 +00:00
zhuofeng
48398f7d07 add deleted code to plugin rasdaemon
(cherry picked from commit e338254e4494a9e209f74a148ed014eeaffcab13)
2024-08-31 10:22:54 +08:00
openeuler-ci-bot
415c6241f7
!11 修复参数设置浮点数的问题
From: @tong_1001 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-08-30 12:15:16 +00:00
openeuler-ci-bot
1bf01ab334
!9 cpu_utility and cpu_patrol must be an integer
From: @tong_1001 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-08-29 01:30:08 +00:00
shixuantong
01ef8cc4ec Remove ANSI escape sequences 2024-08-11 18:44:46 +08:00
openeuler-ci-bot
5561d427a4
!7 fix result when process output is None
From: @tong_1001 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-08-05 02:52:04 +00:00