Ubuntu
- Navigate to the agent configuration directory:
cd /opt/watchlog-agent sudo vim integration.json
- Locate the MongoDB object:
{ "service": "mongodb", "monitor": false, "username": "", "password": "" }
3. Change `"monitor"` from `false` to `true`:
```diff
- "monitor": false
+ "monitor": true
- Update
username
andpassword
fields as needed. - Save the file and reload the agent:
sudo pm2 reload watchlog-agent