Configuring Global Custom Query for monitoring Oracle Enterprise Database
As a system administrator, configure Global Custom Query to manage SQL-based monitoring across environments, eliminating the need for repetitive configurations. This capability improves operational efficiency and streamlines monitoring.
To configure Global Custom Query for monitoring Oracle Enterprise Database
- In BMC Helix Operations Management, select Configuration > Monitor Policies > Create Policy.
- Click Add Monitoring Configuration.
- From the Monitoring Solution list, select Oracle Enterprise.
- From the Monitor Type list, select Oracle Global.
- Add the monitoring configuration as described in the following table:
| Field | Description |
|---|---|
| Global Configuration | Expand Oracle Custom SQL Queries. |
| Oracle Custom SQL Queries | Select one of the following options:
|
| Oracle Standalone Database | Expand Oracle Standalone Database. |
| Enable global Custom SQL queries | Select this checkbox to enable the global custom SQL queries configuration. |
| Configuration option | Select one of the following options:
|
| Custom SQL Query | Click Add. The following options are available:
|
| Query name | Enter the SQL query name. |
| SQL query | Enter the SQL query. |
| Collection time (min) | The collection cycle time of the SQL query in minutes. |
| Enable number of records annotation | Select this checkbox to annotate the number of records metric with the query result. |
| Oracle RAC Database | Expand Oracle RAC Database. |
| Enable global Custom SQL queries | Select this checkbox to enable the global custom SQL queries configuration. |
| Configuration option | Select one of the following options:
|
| Custom SQL Query | Click Add to view the following options:
|
| Query name | Enter the SQL query name. |
| SQL query | Enter the SQL query. |
| Collection time (min) | The collection cycle time of the SQL query in minutes. |
| Enable number of records annotation | Select this checkbox to annotate the number of records metric with the query result. |
| Oracle DataGuard Database | Expand Oracle DataGuard Database. |
| Enable global Custom SQL queries | Select this checkbox to enable the global custom SQL queries configuration. |
| Configuration option | Select one of the following options:
|
| Custom SQL Query | Click Add to view the following options:
|
| Query name | Enter the SQL query name. |
| SQL query | Enter the SQL query. |
| Collection time (min) | The collection cycle time of the SQL query in minutes. |
| Enable number of records annotation | Select this checkbox to annotate the number of records metric with the query result. |
| All (Standalone, RAC, DataGuard) | |
| Enable global Custom SQL queries | Select this checkbox to enable the global custom SQL queries configuration. |
| Custom SQL Query | Click Add to view the following options:
|
| Query name | Enter the SQL query name. |
| SQL query | Enter the SQL query. |
| Collection time (min) | The collection cycle time of the SQL query in minutes. |
| Enable number of records annotation | Select this checkbox to annotate the number of records metric with the query result. |
| Additional configuration for DataGuard SQL queries | Expand Additional configuration for DataGuard SQL queries. |
| Execute query on | Select one of the following databases to determine where the query is executed:
|
6. Click Save.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*