change avg_block_io config
This commit is contained in:
parent
1c1b3e4374
commit
6108e7db95
55
change-avg_block_io-config.patch
Normal file
55
change-avg_block_io-config.patch
Normal file
@ -0,0 +1,55 @@
|
||||
From aaff413d6954003a3c21af21003c3bc134f940e2 Mon Sep 17 00:00:00 2001
|
||||
From: gaoruoshu <gaoruoshu@huawei.com>
|
||||
Date: Tue, 5 Nov 2024 10:31:10 +0800
|
||||
Subject: [PATCH] change avg_block_io config
|
||||
|
||||
---
|
||||
config/plugins/avg_block_io.ini | 8 ++++----
|
||||
.../src/python/sentryPlugins/avg_block_io/config.py | 8 ++++----
|
||||
2 files changed, 8 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/config/plugins/avg_block_io.ini b/config/plugins/avg_block_io.ini
|
||||
index 5c4b9b0..3b4ee33 100644
|
||||
--- a/config/plugins/avg_block_io.ini
|
||||
+++ b/config/plugins/avg_block_io.ini
|
||||
@@ -12,12 +12,12 @@ win_size=30
|
||||
win_threshold=6
|
||||
|
||||
[latency_nvme_ssd]
|
||||
-read_avg_lim=300
|
||||
-write_avg_lim=300
|
||||
+read_avg_lim=10000
|
||||
+write_avg_lim=10000
|
||||
read_avg_time=3
|
||||
write_avg_time=3
|
||||
-read_tot_lim=500
|
||||
-write_tot_lim=500
|
||||
+read_tot_lim=50000
|
||||
+write_tot_lim=50000
|
||||
|
||||
[latency_sata_ssd]
|
||||
read_avg_lim=10000
|
||||
diff --git a/src/python/sentryPlugins/avg_block_io/config.py b/src/python/sentryPlugins/avg_block_io/config.py
|
||||
index c8f45ce..c1e8ab1 100644
|
||||
--- a/src/python/sentryPlugins/avg_block_io/config.py
|
||||
+++ b/src/python/sentryPlugins/avg_block_io/config.py
|
||||
@@ -42,12 +42,12 @@ DEFAULT_PARAM = {
|
||||
CONF_ALGO_SIZE: 30,
|
||||
CONF_ALGO_THRE: 6
|
||||
}, 'latency_nvme_ssd': {
|
||||
- 'read_avg_lim': 300,
|
||||
- 'write_avg_lim': 300,
|
||||
+ 'read_avg_lim': 10000,
|
||||
+ 'write_avg_lim': 10000,
|
||||
'read_avg_time': 3,
|
||||
'write_avg_time': 3,
|
||||
- 'read_tot_lim': 500,
|
||||
- 'write_tot_lim': 500,
|
||||
+ 'read_tot_lim': 50000,
|
||||
+ 'write_tot_lim': 50000,
|
||||
}, 'latency_sata_ssd' : {
|
||||
'read_avg_lim': 10000,
|
||||
'write_avg_lim': 10000,
|
||||
--
|
||||
2.39.5 (Apple Git-154)
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
Summary: System Inspection Framework
|
||||
Name: sysSentry
|
||||
Version: 1.0.2
|
||||
Release: 64
|
||||
Release: 65
|
||||
License: Mulan PSL v2
|
||||
Group: System Environment/Daemons
|
||||
Source0: https://gitee.com/openeuler/sysSentry/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
@ -80,6 +80,7 @@ Patch67: fix-alarm_info-newline-break-error.patch
|
||||
Patch68: get_alarm-d-abnomal-display.patch
|
||||
Patch69: modify-logrotate-rule.patch
|
||||
Patch70: fix-excessive-CPU-usage.patch
|
||||
Patch71: change-avg_block_io-config.patch
|
||||
|
||||
BuildRequires: cmake gcc-c++
|
||||
BuildRequires: python3 python3-setuptools
|
||||
@ -351,6 +352,12 @@ rm -rf %{buildroot}
|
||||
%attr(0550,root,root) %{python3_sitelib}/sentryCollector/__pycache__/collect_plugin*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 5 2024 gaoruoshu <gaoruoshu@huawei.com> - 1.0.2-65
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:change avg_block_io config
|
||||
|
||||
* Thu Oct 31 2024 jinsaihang <jinsaihang@h-partners.com> - 1.0.2-64
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user