Validate Data Flowing to OpsBridge Agent
If you are not seeing metrics, events and topology data in Micro Focus OpsBridge Manager, then use the following guide.
Step-by-step guide
Metrics
To validate metrics are coming into the agent, run the command ‘ovcodautil showds’ on the OBM Rest endpoint server
On the Agent that has the StreamWeaver Web Service Listener policy deployed, run the following
ovcodautil showdsThe list of Data Sources will appear. If you see one that has the name of the Source, then you have confirmed that the agent received metric data from the StreamWeaver Platform
To see the latest value for all of the metrics collected of that data source
On the Agent that has the StreamWeaver Web Service Listener policy deployed, run the following
ovcodautil -dumpds [Data Source]
Topology
To validate topology is coming into the agent, check the delta detection XML Files (if enabled in OBM Policy)
- On the Agent that has the StreamWeaver Web Service Listener policy deployed, go to the topo directory and review the folders there. (Linux Path example: /var/opt/OV/datafiles/topo)
There should be some directories there with names that correspond to UUIDs of OBM Policies.
- Each should contain 3 files 'delta.xml','payload.xml','repository.xml'
- payload is the data from StreamWeaver
repository is the current content of OBM RTSM
delta is the differences that will be uploaded - if you find these files then you can check the content to confirm that the data looks correct.
- Once these have been created once, they will only be adjusted if the topology changes and then only with the differences.
- If you want you can delete these files and then rerun StreamWeaver, they should get created again.
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<Service
bsmc_origin_policyId="83ac15f9-2a53-9cee-2a19-12a3c16fca66"
origin_node="opscx.streamweaver.com"
origin_policyId="83ac15f9-2a53-9cee-2a19-12a3c16fca66"
origin_type="BSMC">
<NewInstance
ref="dynatracemanaged_Application:APPLICATION-EA7C4B59F27D43EB">
<Std>DiscoveredElement</Std>
<Virtual/>
<Key>dynatracemanaged_Application:APPLICATION-EA7C4B59F27D43EB</Key>
<Attributes>
<Attribute
name="hpom_citype"
value="business_application"/>
<Attribute
name="ucmdb_data_externalid"
value="APPLICATION-EA7C4B59F27D43EB"/>
<Attribute
name="ucmdb_monitored_by"
value="dynatracemanaged"
datatype="string_list"/>
<Attribute
name="ucmdb_name"
value="APPLICATION-EA7C4B59F27D43EB"/>
<Attribute
name="ucmdb_user_label"
value="easyTravel Web"/>
</Attributes>
</NewInstance>
<NewInstance
ref="dynatracemanaged_Host:HOST-2E509E89884F934B">
<Std>DiscoveredElement</Std>
<Virtual/>
<Key>dynatracemanaged_Host:HOST-2E509E89884F934B</Key>
<Attributes>
<Attribute
name="hpom_citype"
value="host_node"/>
<Attribute
name="ucmdb_monitored_by"
datatype="string_list"/>
<Attribute
name="ucmdb_name"
value="HOST-2E509E89884F934B"/>
<Attribute
name="ucmdb_user_label"
value="easytravel-backend"/>
</Attributes>
</NewInstance>
<NewInstance
ref="dynatracemanaged_Host:HOST-C5FCC2782CBE8F12">
<Std>DiscoveredElement</Std>
<Virtual/>
<Key>dynatracemanaged_Host:HOST-C5FCC2782CBE8F12</Key>
<Attributes>
<Attribute
name="hpom_citype"
value="host_node"/>
<Attribute
name="ucmdb_monitored_by"
value="dynatracemanaged"
datatype="string_list"/>
<Attribute
name="ucmdb_name"
value="HOST-C5FCC2782CBE8F12"/>
<Attribute
name="ucmdb_user_label"
value="easytravel-frontend"/>
</Attributes>
</NewInstance>
Turn on Debug for Topology on 2020.10 +
- cd /opt/HP/BSM/ucmdb/conf/log
- In the following yaml files
log4j2_root_all.yaml
log4j2_root.yaml - Change ERROR to DEBUG
- name: “reconciliation.loglevel
value: “ERROR”
Look for Reconciliation errors
- cd /opt/HP/BSM/ucmdb/runtime/log
- vi error.log
Events
To validate events are coming into the agent, check the agent queue for event text
On the Agent that has the StreamWeaver Web Service Listener policy deployed, go to the agent queue directory and search for strings related to your example events. (Linux Path example: /var/opt/OV/tmp/OpC/msgagtq)
Run the following command and review the strings that are human readable for indicators of the source tool's example events.
cat msgagtqOn busy systems, you may need to add a search filter with a keyword via grep as follows
cat msgagtq | grep -i "CPU Utilization"
Related articles
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
-
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*