This is an automated email from the ASF dual-hosted git repository.
gongchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git
The following commit(s) were added to refs/heads/master by this push:
new 8ce473139 [bugfix] fix snmp template unit conversion problem (#1796)
8ce473139 is described below
commit 8ce47313936b2b74532915b376b52281a4f4dbb9
Author: 铁甲小宝 <[email protected]>
AuthorDate: Sat Apr 20 12:09:27 2024 +0800
[bugfix] fix snmp template unit conversion problem (#1796)
Co-authored-by: tomsun28 <[email protected]>
---
manager/src/main/resources/define/app-cisco_switch.yml | 2 +-
manager/src/main/resources/define/app-h3c_switch.yml | 2 +-
manager/src/main/resources/define/app-hpe_switch.yml | 2 +-
manager/src/main/resources/define/app-huawei_switch.yml | 2 +-
manager/src/main/resources/define/app-tplink_switch.yml | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/manager/src/main/resources/define/app-cisco_switch.yml
b/manager/src/main/resources/define/app-cisco_switch.yml
index f87187ba2..6e8385880 100644
--- a/manager/src/main/resources/define/app-cisco_switch.yml
+++ b/manager/src/main/resources/define/app-cisco_switch.yml
@@ -442,7 +442,7 @@ metrics:
- index=ifIndex
- descr=ifDescr
- mtu=ifMtu
- - speed=ifSpeed / 1024 / 1024
+ - speed=ifSpeed / 8 / 1024 / 1024
- in_octets=ifInOctets / 1024 / 1024
- in_discards=ifInDiscards
- in_errors=ifInErrors
diff --git a/manager/src/main/resources/define/app-h3c_switch.yml
b/manager/src/main/resources/define/app-h3c_switch.yml
index bf95a5d74..2ff215ec2 100644
--- a/manager/src/main/resources/define/app-h3c_switch.yml
+++ b/manager/src/main/resources/define/app-h3c_switch.yml
@@ -442,7 +442,7 @@ metrics:
- index=ifIndex
- descr=ifDescr
- mtu=ifMtu
- - speed=ifSpeed / 1024 / 1024
+ - speed=ifSpeed / 8 / 1024 / 1024
- in_octets=ifInOctets / 1024 / 1024
- in_discards=ifInDiscards
- in_errors=ifInErrors
diff --git a/manager/src/main/resources/define/app-hpe_switch.yml
b/manager/src/main/resources/define/app-hpe_switch.yml
index bd10298b8..5ffa22ce4 100644
--- a/manager/src/main/resources/define/app-hpe_switch.yml
+++ b/manager/src/main/resources/define/app-hpe_switch.yml
@@ -442,7 +442,7 @@ metrics:
- index=ifIndex
- descr=ifDescr
- mtu=ifMtu
- - speed=ifSpeed / 1024 / 1024
+ - speed=ifSpeed / 8 / 1024 / 1024
- in_octets=ifInOctets / 1024 / 1024
- in_discards=ifInDiscards
- in_errors=ifInErrors
diff --git a/manager/src/main/resources/define/app-huawei_switch.yml
b/manager/src/main/resources/define/app-huawei_switch.yml
index 1afc222fa..043dc1264 100644
--- a/manager/src/main/resources/define/app-huawei_switch.yml
+++ b/manager/src/main/resources/define/app-huawei_switch.yml
@@ -442,7 +442,7 @@ metrics:
- index=ifIndex
- descr=ifDescr
- mtu=ifMtu
- - speed=ifSpeed / 1024 / 1024
+ - speed=ifSpeed / 8 / 1024 / 1024
- in_octets=ifInOctets / 1024 / 1024
- in_discards=ifInDiscards
- in_errors=ifInErrors
diff --git a/manager/src/main/resources/define/app-tplink_switch.yml
b/manager/src/main/resources/define/app-tplink_switch.yml
index d363fec33..9577d12d9 100644
--- a/manager/src/main/resources/define/app-tplink_switch.yml
+++ b/manager/src/main/resources/define/app-tplink_switch.yml
@@ -442,7 +442,7 @@ metrics:
- index=ifIndex
- descr=ifDescr
- mtu=ifMtu
- - speed=ifSpeed / 1024 / 1024
+ - speed=ifSpeed / 8 / 1024 / 1024
- in_octets=ifInOctets / 1024 / 1024
- in_discards=ifInDiscards
- in_errors=ifInErrors
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]