Custom Siebel CRM Metrics
In addition to the metrics already being collected and streamed to dashboards, additional Siebel metrics collection options are supported that can be obtained by processing server manager commands. For example, metrics for Process, sessions, statistics and any other metric by processing server manager commands.
This topic contains the following sections:
Enable Metrics for Processes, Sessions, and Statistics
Configuration needs to be changed in the SCM Git repositiory in the file
flux-crm/apps/base/siebel_observability/prometheus.yaml
under
"metrics→additional_siebel_metrics" key as follows:
additional_siebel_metrics:
process: true
session: true
statistics:
server: false
component:
component_list: [ "EAIObjMgr_enu", "FINSObjMgr_enu"]
Add Custom Siebel Metrics
One can add Custom Siebel Metrics using server manager (srvrmgr) command output.
“metrics→custom_metrics→extension1" key is available out-of-the-box for this purpose as a sample.
An example is shown below to send the value of "PA_Value" from srvrmgr command output to Prometheus as metric "custom_MaxTasks". This will process server manager command "list param maxtasks for comp SWToolsObjMgr_enu" and send the PA_VALUE as value of metric named "custom_MaxTasks".
extension1:
- name: MaxTasks
cmd: "list param maxtasks for comp SWToolsObjMgr_enu"
value_column: "PA_VALUE"
description: "Max Task of Siebel Webtools" prometheus_type: "Gauge"
value_column: "PA_VALUE"
type: "Gauge"
- name: MaxThreads
cmd: "list param MaxThreads for comp EnergyObjMgr_enu"
value_column: "PA_VALUE"
description: "My Description 1"
type: "Gauge"
- name: NumRetries
cmd: "list param NumRetries for comp EnergyObjMgr_enu"
value_column: "PA_VALUE"
description: "My description 2"
type: "Gauge"
Any other metrics obtained by processing srvrmgr commands can be included, to be
collected and streamed to dashboard. Before including these commands in the
prometheus.yaml
file, it is suggested that you verify the
accuracy of the commands used as well as the results returned.
For display in the dashboard, make necessary new dashboards or edit existing ones.