{"repo":"piotr-ku/directadmin-exporter","free":true,"listed":false,"github":"https://github.com/piotr-ku/directadmin-exporter","clone":"git clone https://github.com/piotr-ku/directadmin-exporter.git","description":"This is a simple exporter for monitoring DirectAdmin using Prometheus. It retrieves metrics from the DirectAdmin API and exposes them in a format that can be scraped by Prometheus.","language":"Go","stars":10,"topics":["directadmin","directadmin-servers","go","prometheus","prometheus-exporter","prometheus-metrics","prometheus-metrics-exporter","monitoring","monitoring-tool"],"license":"MIT","category":"analytics","readme_excerpt":"DirectAdmin Exporter This is a simple exporter for monitoring DirectAdmin using Prometheus. It retrieves metrics from the DirectAdmin API and exposes them in a format that can be scraped by Prometheus. Installation To install and set up the DirectAdmin Exporter, follow these steps: 1. Clone the repository: 2. Install the required dependencies. Make sure you have Go installed. 3. Build the exporter: 4. Run the exporter: Usage Before running the DirectAdmin Exporter, make sure you have the following prerequisites: - Go (version 1.23 or later) - DirectAdmin API credentials To run the application, use the following command: Replace the placeholders with the appropriate values: - : Port number for the HTTP server (default: 8080) - : IP address for the HTTP server (default: 127.0.0.1) - : Path to the configuration file - : Interval between API requests (default: 10s) Configuration The DirectAdmin Exporter requires an API configuration to connect to the DirectAdmin server. Create an environment file in the following format: - : The hostname of the DirectAdmin server - : The username for the DirectAdmin API. - : The token or password for the DirectAdmin API. - : The port number on which the DirectAdmin server is running. - : The protocol to use for communication with the DirectAdmin server ( http or https ). When running the application, provide the path to the environment file using the --config flag: Metrics The DirectAdmin Exporter collects various metrics exposed by the DirectAdm","default_branch":null,"files":null,"tree":[],"storefront":"/r/piotr-ku","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/piotr-ku/directadmin-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}