This check monitors VoltDB through the Datadog Agent.
Follow the instructions below to install and configure this check for an Agent running on a host. For containerized environments, see the Autodiscovery Integration Templates for guidance on applying these instructions.
Note: This check should only be configured on one Agent per cluster. If you are monitoring a cluster spread across several hosts, install an Agent on each host. However, do not enable the VoltDB integration on more than one host, as this results in duplicate metrics.
The VoltDB check is included in the Datadog Agent package. No additional installation is needed on your server.
-
Add a
datadog-agent
user. You can do so by editing your VoltDBdeployment.xml
file. Note: No specific roles are required, so assign the built-inuser
role.<users> <!-- ... --> <user name="datadog-agent" password="<PASSWORD>" roles="user" /> </users>
-
Edit the
voltdb.d/conf.yaml
file, in theconf.d/
folder at the root of your Agent's configuration directory to start collecting your VoltDB performance data. See the sample voltdb.d/conf.yaml for all available configuration options.init_config: instances: - url: http://localhost:8080 username: datadog-agent password: "<PASSWORD>"
If TLS/SSL is enabled on the client HTTP port:
-
Export your certificate CA file in PEM format:
keytool -exportcert -file /path/to/voltdb-ca.pem -keystore <KEYSTORE> -storepass <PASSWORD> -alias voltdb -rfc
-
Export your certificate in PEM format:
openssl pkcs12 -nodes -in <KEYSTORE> -out /path/to/voltdb.pem -password pass:<PASSWORD>
The resulting file should contain the unencrypted private key and the certificate:
-----BEGIN PRIVATE KEY----- <Private key contents...> -----END PRIVATE KEY----- -----BEGIN CERTIFICATE----- <Certificate contents...> -----END CERTIFICATE-----
-
In your instance configuration, point
url
to the TLS-enabled client endpoint, and set thetls_cert
andtls_ca_cert
options. For example:instances: - # ... url: https://localhost:8443 tls_cert: /path/to/voltdb.pem tls_ca_cert: /path/to/voltdb-ca.pem
-
Collecting logs is disabled by default in the Datadog Agent, enable it in your
datadog.yaml
file:logs_enabled: true
-
Add this configuration block to your
voltdb.d/conf.yaml
file to start collecting your VoltDB logs:logs: - type: file path: /var/log/voltdb.log source: voltdb
Change the path
value based on your environment. See the sample voltdb.d/conf.yaml
file for all available configuration options.
To enable logs for Kubernetes environments, see Kubernetes Log Collection.
Run the Agent's status subcommand and look for voltdb
under the Checks section.
See metadata.csv for a list of metrics provided by this check.
This check does not include any events.
See service_checks.json for a list of service checks provided by this integration.
Need help? Contact Datadog support.
{{< partial name="whats-next/whats-next.html" >}}