Configure a Database Query Monitor
Scheduled queries for MySQL
Configure the SQL Query
Queries from tables and views
Application Database Monitoring
Business tables beyond system views
Advanced Configuration
Additional query monitors
This guide assumes that the MySQL data source, credentials, and GermainUX Engine have already been deployed.
Configure a Database Query Monitor
Navigate to:Germain WorkspaceLeft MenuWizardsDatabase Query Monitor Deployment
Use the Wizard to create a Query Monitor for MySQL.
A Database Query Monitor executes a configured SQL query according to a schedule and processes the returned information for GermainUX analytics and monitoring.

Select the MySQL Data Source
Select the MySQL database connection configured during deployment. Verify that the selected data source:- Connects to the correct MySQL instance
- Uses the appropriate credentials
- Points to the required database
- Has permission to execute the monitoring query
Configure the SQL Query
Enter the SQL query GermainUX should execute. Queries can retrieve information from:- MySQL system tables
- Performance-related tables
- Application tables
- Business data
- Other tables accessible by the monitoring account
- Database performance
- Active connections
- Storage conditions
- Application processing states
- Queue depth
- Transaction counts
- Failed operations
- Custom operational metrics

Configure the KPI
Define the KPI associated with the information returned by the Query Monitor. The KPI determines how the monitored data is represented and analyzed within GermainUX. Examples include:- Query Response Time
- Active Connections
- Storage Utilization
- Backup Status
- Transaction Count
- Failure Count
- Application-Specific Database Condition
Configure the SLA
Create an SLA when the KPI should be evaluated against an expected condition or threshold. For database KPIs, select: Fact-based SLA Define the condition that determines whether the monitored KPI is operating normally or requires attention. For example: Active Connections > Threshold Available Storage < Threshold Query Response Time > Threshold Failed Transactions > 0Configure Actions
Select the actions GermainUX should execute when an SLA condition is met. Depending on your GermainUX configuration, actions can include:- Alerts
- Reports
- Scripts
- Other configured operational actions
SQL QueryKPISLAAlert / Report / Script
Select the Monitoring Node & Engine
Configure where the Query Monitor will execute. Select: Monitoring NodeThe GermainUX Node from which the Engine operates. Engine
The GermainUX Engine that will execute the monitor. The selected Engine must have connectivity to the MySQL instance.
Configure the Schedule
Define how frequently GermainUX should execute the SQL query. Choose the schedule according to:- Required detection speed
- How frequently the underlying data changes
- Operational importance
- Database workload
- Query execution cost
Verify the Monitor
After deploying the Query Monitor, locate it in: Germain State Confirm that:- The monitor is running
- MySQL connectivity is successful
- The query executes successfully
- Data is being collected
- The KPI receives the expected values
- SLA evaluation operates as expected
Configure MySQL Performance Monitoring
Create monitors and KPIs for the MySQL performance information required by your environment. Depending on available system information, analyze conditions such as:- Database performance
- CPU-related resource usage
- Memory utilization
- Disk I/O
- Network activity
Configure Query Performance Monitoring
Configure monitoring for queries important to application performance. Analyze conditions such as:- Query execution time
- Slow-running queries
- Execution plans
- Index usage
- Query-performance trends
Configure Connection Monitoring
Monitor database connection activity to identify conditions such as:- Excessive active connections
- Unexpected connection growth
- Connection utilization
- Potential connection leaks
Configure Storage Monitoring
Configure monitoring for database and tablespace storage. Monitor conditions such as:- Disk utilization
- Tablespace utilization
- Available capacity
- Data-storage growth
- Log-storage capacity
Configure Backup Monitoring
Configure database queries and KPIs to monitor backup activity. Monitor conditions such as:- Backup completion
- Backup failure
- Last successful backup
- Backup frequency
- Recovery-related information
Configure Error & Event Monitoring
Configure monitoring for MySQL errors, warnings, or other database conditions requiring attention. Error and event monitoring can be combined with:- KPIs
- SLAs
- Alerts
- Reports
- Scripts
Configure Application-Specific Database Monitoring
GermainUX can monitor MySQL tables beyond standard system tables. This allows monitoring to be extended to application-specific and business conditions. For example:Application TableSQL QueryKPISLAAlert / Action
This can be used to monitor:
- Processing states
- Transactions
- Queues
- Failures
- Volumes
- Business conditions
- Other application-specific information stored in MySQL
Configure Dashboards & Reports
Use the MySQL telemetry collected by GermainUX to create real-time dashboards and automated reports. Examples include:- MySQL health
- Availability
- Query performance
- Connections
- Storage
- Backups
Show all 10
Show all 10
- Errors
- Custom KPIs
- SLA status
- Historical trends
Validate the Configuration
After configuring MySQL monitoring, verify that:- Queries execute successfully
- Expected data is collected
- KPIs are populated
- SLA conditions evaluate correctly
- Alerts and actions trigger as expected
- Monitoring executes according to schedule
- Query execution does not create unnecessary database load
Advanced Configuration
GermainUX MySQL monitoring can be extended by creating additional Database Query Monitors for system tables, application tables, and other accessible database information. This allows organizations to build MySQL monitoring specific to their applications while using GermainUX analytics, SLAs, alerts, reports, and automation to operationalize the collected data. Please contact us for any help.Get Help
Contact GermainUX Support
The Germain Team can help you set this up.
Can't find what you need?
Search all GermainUX docs with Ctrl + K, or use the feedback buttons at the bottom of this page to tell us what is missing.
The content of this document is proprietary to GERMAIN SOFTWARE LLC.

