How To Create Custom DB Metric
You would like to create and collect custom database (DB) metrics which are not provided as standard metrics of SAP Focused Run DB monitoring templates. For this purpose, you need to define:
- A custom metric in a custom template in the System Monitoring (Template Maintenance) of SAP Focused Run.
- A metric definition and corresponding SQL query for your custom metric within the DB metric definition file matching to the respective DB type within the SAP Host Agent configuration directory. This file has to be distributed to all DB hosts involved.