32 Commits

Author SHA1 Message Date
贺有志
d10ad1412c
ai_block_io adapt alarm module
Signed-off-by: 贺有志 <1037617413@qq.com>
2024-10-10 13:12:15 +00:00
zhuofeng
93ee34b681 add get_disk_type and fix some bugs
add log for improving maintainability
2024-10-10 20:17:38 +08:00
PhsySimon
c0df44cccf xalarm add alarm msg length restriction to 8192 2024-10-10 18:57:28 +08: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
znzjugod
36b5fd0ac2 modify iodump threhold from 1000 to 1000000000 and fix iodump in right turn 2024-10-10 12:15:59 +08:00
贺有志
45a6468200
add fix-config-relative-some-issues.patch
Signed-off-by: 贺有志 <1037617413@qq.com>
2024-10-09 11:19:40 +00:00
hubin
12e5c0628e fix get_alarm length and timestamp 2024-10-09 17:03:29 +08:00
znzjugod
772fa586a8 update ebpf log and fix bugs 2024-10-09 16:37:10 +08:00
zhuofeng
72743ceab8 update log when it is not lock collect 2024-10-09 16:19:49 +08:00
zhuofeng
9c32c7c65f avg_block_io send alarm to xalarmd 2024-10-09 15:13:19 +08:00
PshySimon
2f5ec6c14b fix python 3.7 not support for list[bool] type 2024-10-09 11:27:09 +08:00
jinsaihang
7caa6a500f add alarm event query function
Signed-off-by: jinsaihang <jinsaihang@h-partners.com>
2024-10-08 22:11:37 +08:00
PshySimon
37a41348df add pyxalarm and pysentry_notify, xalarmd support for multi users 2024-10-08 21:08:17 +08:00
znzjugod
1885a40474 add ebpf collector 2024-09-30 20:39:57 +08:00
贺有志
861513df1f
fix ai_block_io some issues
Signed-off-by: 贺有志 <1037617413@qq.com>
2024-09-30 09:28:41 +00:00
zhuofeng
b0bca62642 相关日志格式以及日志打印修改
相关冗余代码删除
当磁盘disk字段设置为default的时候,采集不生效的情况
2024-09-27 17:08:16 +08: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
贺有志
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
zhuofeng
4e1a7951ff 修改相关bug
1、当环境本身就超过10个disk,配置成default会导致配置有问题
2、调用巡检任务停止接口后,回显状态有误
3、重构相关代码和修改日志级别
2024-09-20 14:24:05 +08:00
zhuofeng
ee153a027b add collect module and avg_block_io plugin to sysSentry 2024-09-14 10:35:09 +08:00
zhuofeng
284ff94c8b fix syssentry fails to be started when cpu_sentry is not installed 2024-09-14 09:45:31 +08:00
shixuantong
e6bae7867c fix configparser.InterpolationSyntaxError
(cherry picked from commit bed7a4f3927cdf6990be075242a57d9bc8327ea7)
2024-09-11 11:13:32 +08:00
root
024657dbe4 split cpu_sentry and syssentry 2024-09-09 11:38:11 +08:00
shixuantong
01ef8cc4ec Remove ANSI escape sequences 2024-08-11 18:44:46 +08:00
shixuantong
b319b74e5d add ipmitool to Recommends for cpu_sentry 2024-08-31 14:19:42 +08:00
zhuofeng
48398f7d07 add deleted code to plugin rasdaemon
(cherry picked from commit e338254e4494a9e209f74a148ed014eeaffcab13)
2024-08-31 10:22:54 +08:00
shixuantong
41227a522f setting parameters must be integer 2024-07-22 07:54:03 +08:00
shixuantong
aed04f32d3 cpu_utility and cpu_patrol must be an integer 2024-07-22 07:47:18 +08:00
shixuantong
5108ea55c5 fix result when process output is None 2024-07-26 16:11:07 +08:00
shixuantong
1a6b0fa194 Fix the problem that function cpu_report_result() is called more than once and fix error handling 2024-07-25 11:55:43 +08:00
shixuantong
bcce3ea6ab delete rpath setting
(cherry picked from commit c84448b1dccd0cd5d7e81e6734c5f080bff8e37e)
2024-06-18 17:20:48 +08:00
shixuantong
8a72ac5a5f Package init 2024-06-11 19:34:56 +08:00