summaryrefslogtreecommitdiffstats
path: root/3rd_party/collectd-ves-app/ves_app/guest.yaml
diff options
context:
space:
mode:
authorAaron Smith <aasmith@redhat.com>2017-11-08 18:51:22 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-08 18:51:23 +0000
commit79270d2c4435cc9a5cddf24dd20ed21df6e15f58 (patch)
tree40a08bca63a77769d464ae0e85d8876cf240bb21 /3rd_party/collectd-ves-app/ves_app/guest.yaml
parent301fb78df67c06021c8996eb77441581d92dbc14 (diff)
parent4ae8eca14448bac6be46fbbf22d2ddc5d8ae7028 (diff)
Merge "VES: add new tag to strip extra dashes"
Diffstat (limited to '3rd_party/collectd-ves-app/ves_app/guest.yaml')
-rw-r--r--3rd_party/collectd-ves-app/ves_app/guest.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/3rd_party/collectd-ves-app/ves_app/guest.yaml b/3rd_party/collectd-ves-app/ves_app/guest.yaml
index 7bb7135d..c26bd08c 100644
--- a/3rd_party/collectd-ves-app/ves_app/guest.yaml
+++ b/3rd_party/collectd-ves-app/ves_app/guest.yaml
@@ -40,13 +40,13 @@ Host Measurements: !Measurements
- plugin
- plugin_instance
- ITEM-DESC:
- name: "{vl.plugin}-{vl.plugin_instance}"
+ name: !StripExtraDash "{vl.plugin}-{vl.plugin_instance}"
arrayOfFields: !ArrayItem
- SELECT:
plugin: "{vl.plugin}"
plugin_instance: "{vl.plugin_instance}"
- ITEM-DESC:
- name: "{vl.type}-{vl.type_instance}-{vl.ds_name}"
+ name: !StripExtraDash "{vl.type}-{vl.type_instance}-{vl.ds_name}"
value: "{vl.value}"
measurementInterval: !Number "{vl.interval}"
memoryUsageArray: !ArrayItem
@@ -265,14 +265,14 @@ Guest Events: !Events
lastEpochMicrosec: !Number "{n.time}"
startEpochMicrosec: !Number "{n.time}"
faultFields:
- alarmInterfaceA: "{n.plugin}-{n.plugin_instance}"
+ alarmInterfaceA: !StripExtraDash "{n.plugin}-{n.plugin_instance}"
alarmCondition: "{n.message}"
eventSeverity: !MapValue
VALUE: "{n.severity}"
TO: *collectdSeverityMapping
eventSourceType: guest
faultFieldsVersion: 1.1
- specificProblem: "{n.plugin_instance}-{n.type_instance}"
+ specificProblem: !StripExtraDash "{n.plugin_instance}-{n.type_instance}"
vfStatus: Active
- CONDITION:
plugin: "/^(?!virt).*$/"