It is possible to run the DPM agent in a virtualization environment. This method can be used to monitor databases locally (“on-host”) and remotely (“off-host,” such as for Amazon RDS and Aurora). We have provided buildpacks that will set up agents for Docker and Heroku.
For Docker, you can find instructions and the necessary files here.
Generic Container Installation
Set the following environment variables in your container:
||The DPM API token for your environment. You can find this by clicking the “Add New Host” wizard in the DPM web application and select “Containerized.”|
||URI of the database you wish to monitor. The acceptable syntax is below this table.|
||The name of this container host. This is optional, but providing a human-readable name is highly recommended. Read more about that here|
VC_DRV_MANUAL_HOST_URI is a comma-separated list of database URIs. The formats are as follows:
port with the DPM username, the password for that user, and the database listening port. The user and password cannot contain any of the URI reserved characters ( : / ? # [ ] @ ).
If you are monitoring a remote database, such as Amazon RDS or Aurora, replace
127.0.0.1 with the database address. For PostgreSQL, you may also need to specify the name of the database to connect to, db.
Please contact Support by emailing firstname.lastname@example.org or by using the in-app chat if you have any questions.