In CDM CPU Enhanced Template even though we only enable CPU Individual Usage, also User, System, Waitr and Idle Metrics are collected.
***
Steps to Reproduce / Support Lab Details if issue reproduces:
1. Create an CPU Monitor (Enhanced) and only enable 1 QOS: Individual CPU Usage
2. Cheeck plugin metric.cfg:
<CPU_Multi_Usage>
subsys =
qos_source = ~.*
qos_label = Individual CPU Usage
alarm = false
publish_qos = true
qos_target = ~.*
qos_name = QOS_CPU_MULTI_USAGE
publish_baseline = false
</CPU_Multi_Usage>
3. Check DB. All targets for QOS_CPU_MULTI_USAGE are monitored (wait, idle, system users).
The Expectation would be that only server target is monitored.
This issue is reproducible in UIM 20.3.3, UIM 20.4CU4/5 with MSSQL and MYsql
CDM probe 6.71 / 6.82-MC
Template 6.71.1 / 6.84
Windows or Linux
This is due to the fact that all targets are enabled in the correspondent plugin_metric.cfg section for this metric:
"[qos_target = ~.*]"
<CPU_Multi_Usage>
subsys =
qos_source = ~.*
qos_label = Individual CPU Usage
alarm = false
publish_qos = true
qos_target = ~.*
qos_name = QOS_CPU_MULTI_USAGE
publish_baseline = false
</CPU_Multi_Usage>
This issue is resolved in cdm_mcs_templates 7.10.
CPU Individual Usage for specific target only enables the enabled targets now.