The instructions for downloading, installing, configuring, and running Prometheus locally in this section assume Unix-like systems, such as Linux and MacOS, but the process is similar for Windows with minor changes.
- Download Prometheus.
- Extract the archive.
- Extract the certificate, key, and certificate chain.
- Configure Protheus.
- Run Prometheus.
Download Prometheus
Open your web browser and go to the official Prometheus download page at https://prometheus.io/download/.
Extract the archive
Perform the following steps to extract the downloaded archive:Extract the certificate, key, and certificate chain
In a terminal, perform the following steps in OpenSSL to extract the client certificate, client private key, and CA certificate tree from the PKCS #12 file you downloaded in the VIP:Each of the following commands prompts for the PKCS #12 file password.
Configure Prometheus
To configure the Prometheus configuration file (including the client certificate, client private key, and CA certificate chain PEM files), perform the following steps:Create a file to contain the configuration settings for Prometheus in the extracted Prometheus directory. Name it
prometheus.yml.Edit the file with the appropraite setting for your use case.
This is an example configuration that instructs Prometheus to monitor a VirtuCrypt endpoint at
us01crypto01test.virtucrypt.com on port 1234. Refer to Appendix A - VirtuCrypt endpoints for the full list of public VirtuCrypt endpoints.YAML
Run Prometheus
Run the following command to execute the Prometheus binary:Shell
Prometheus should now be running and available at http://localhost:9090/ by default.

