Running EventStatsticsUtil To Understand How Events Are Stored in The OBM Database
Running EventStatsticsUtil To Understand How Events Are Stored in The OBM Database
06-Dec-2022•Knowledge
URL Name
KM000012187
Products
Operations Bridge Manager (OBM)
Article Body
Environment
is there an Operations Bridge Command which can help me see how events are
stored in the database?
Resolution
Index fragmentation can be viewed by running EventStatsticsUtil -ic. This shows indexes where
fragmentation is greater than 30%. No rebuild is made
Naturally you can add a scheduled action to do the same which would proababally be the better
way to manage this as you can collect the results as an annotation.
In this example EventStatsticsUtil -a (all) is used which gives more information - choose
EventStatsticsUtil -ic (index check) if concerned about the loading on the database.
Run using scheduled action and collect the output or redirect to file if needed. Create a script
called CollectEventStatisticsUtil.sh which contains:
#!/bin/bash
# CollectEventStatisticsUtil.sh
DATE=$(date +%Y%m%d_%H%M%S)
(time /opt/HP/BSM/opr/support/EventStatisticsUtil.sh -a ) |&
tee /some/log/file/EventStatisticsUtil-a.$DATE
(time /opt/HP/BSM/opr/support/EventStatisticsUtil.sh –r ) |&
tee /some/log/file/EventStatisticsUtil-r.$DATE
Further options would be to create metrics from these values and store in the embedded
performance database by using opcmon. This means you can plot the values in Performance
Dashboard and create alerts if database starts to exceed a threshold.
Document Type
Knowledge
Article Total View Count
65
Article Created Date
22/11/2022 09:59
Last Published Date
06/12/2022 20:59
Title
Running EventStatsticsUtil to understand how events are stored in the OBM
database
Summary
Briefly describe the article.
Using EventStatsticsUtil to understand how events are stored in the OBM
database Operations Bridge Manager (OBM) All versions
Owner
Duncan Wood