summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rodriguez <manu.rodri.hernan@gmail.com>2019-09-02 18:25:35 -0400
committerManuel Rodriguez <manu.rodri.hernan@gmail.com>2019-09-02 18:25:35 -0400
commitfd9cf6a7bd0371ebb2d4d173fbdf9896f0687034 (patch)
treef6d2f9968eab05bdfa3bad353fe50df4cfc87cde
parent5634086f3033a95d7d0698c5a0f7b5ae9215fe37 (diff)
downloadceilometer-fd9cf6a7bd0371ebb2d4d173fbdf9896f0687034.tar.gz
Type field missing in snmp data harware.cpu meters
Type field is missing in snmp.yaml for hardware.cpu.* meters as a result it is throwing Missing field unit errors in the log files. Adding Type gauge per the telemetry-measurements documentation. Change-Id: I4c349d82e3b2b35727c3f814116410dd1ffc8f37 Task: 36428 Story: 2006485
-rw-r--r--ceilometer/hardware/pollsters/data/snmp.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ceilometer/hardware/pollsters/data/snmp.yaml b/ceilometer/hardware/pollsters/data/snmp.yaml
index 37a9cdb3..3e7e518d 100644
--- a/ceilometer/hardware/pollsters/data/snmp.yaml
+++ b/ceilometer/hardware/pollsters/data/snmp.yaml
@@ -39,42 +39,49 @@ metric:
- name: hardware.cpu.user
unit: tick
+ type: gauge
snmp_inspector:
matching_type: "type_exact"
oid: "1.3.6.1.4.1.2021.11.50.0"
type: "int"
- name: hardware.cpu.nice
unit: tick
+ type: gauge
snmp_inspector:
matching_type: "type_exact"
oid: "1.3.6.1.4.1.2021.11.51.0"
type: "int"
- name: hardware.cpu.system
unit: tick
+ type: gauge
snmp_inspector:
matching_type: "type_exact"
oid: "1.3.6.1.4.1.2021.11.52.0"
type: "int"
- name: hardware.cpu.idle
unit: tick
+ type: gauge
snmp_inspector:
matching_type: "type_exact"
oid: "1.3.6.1.4.1.2021.11.53.0"
type: "int"
- name: hardware.cpu.wait
unit: tick
+ type: gauge
snmp_inspector:
matching_type: "type_exact"
oid: "1.3.6.1.4.1.2021.11.54.0"
type: "int"
- name: hardware.cpu.kernel
unit: tick
+ type: gauge
snmp_inspector:
matching_type: "type_exact"
oid: "1.3.6.1.4.1.2021.11.55.0"
type: "int"
- name: hardware.cpu.interrupt
unit: tick
+ type: gauge
snmp_inspector:
matching_type: "type_exact"
oid: "1.3.6.1.4.1.2021.11.56.0"