Ubuntu
- Navigate to the agent config directory:
cd /opt/watchlog-agent sudo vim integration.json
- Locate the MySQL object:
{ "service": "mysql", "monitor": false, "host": "localhost", "port": "3306", "username": "root", "password": "", "database": [] }
3. Change `"monitor"` from `false` to `true`:
```diff
- "monitor": false
+ "monitor": true
- Update
host
,port
,username
,password
, anddatabase
(list of names) as needed. - Save and reload:
sudo pm2 reload watchlog-agent