After installing the Atatus Infra Agent, follow the onboarding steps in the Atatus Dashboard to configure MySQL integration for DigitalOcean Managed MySQL Databases.
1. Get Host Information from DigitalOcean MySQL Dashboard
Obtain the host information for your DigitalOcean MySQL instance from the DigitalOcean MySQL dashboard.
2. Update the Configuration File
Edit the /etc/atatus-infra-agent/conf.d/mysql.d/mysql.yml
configuration file with the appropriate host details. Replace the following placeholders:
<UNIQUEPASSWORD>
with the password created during the onboarding process.<your-mysql-host>:<port>
with your DigitalOcean MySQL instance host and port obtained from the DigitalOcean MySQL dashboard.
Example configuration:
metrics:
- hosts: ["tcp(<your-mysql-host>:<port>)/?tls=skip-verify"]
username: atatus
password: <UNIQUEPASSWORD>
dbm: true
3. Restart the Atatus Infra Agent
Once the configuration file has been updated, restart the Atatus infra agent to apply the changes:
sudo systemctl restart atatus-infra-agent
4. Verify the Integration
After restarting the agent, verify that MySQL metrics are being sent to the Atatus dashboard to ensure the integration is working properly.