{"repo":"LOENS2/pterodactyl_exporter","free":true,"listed":false,"github":"https://github.com/LOENS2/pterodactyl_exporter","clone":"git clone https://github.com/LOENS2/pterodactyl_exporter.git","description":"Python script that extracts metrics from the Pterodactyl API and provides a metrics endpoint for Prometheus","language":"Python","stars":50,"topics":["metrics","pterodactyl","prometheus"],"license":"GPL-3.0","category":"analytics","readme_excerpt":"Pterodactyl Exporter Please use the Discussion for Support rather than the Issues. A python script that exports performance metrics from Pterodactyl Panel 1.x via the Client API, converts the data to the correct format and provides a prometheus target. This can be used for time series monitoring of Pterodactyl game servers and visualization with Grafana. Feel free to try this script and submit an issue if needed. How to install What you need: Linux server (should run on Windows as well, but is only tested in a linux environment) Prometheus Python (3.10) Pterodactyl client API key Service account with read only is recommended You only need to set Backup- Read as permission for the account to the server you want to monitor. Run as Pterodactyl Server - Download the Egg JSON from egg/egg-pterodactyl-exporter.json or the releases - Import the Egg into the Nest of your choice - Create the server from the egg and fill in the required config values - Run the server Run as service Installed as user \"prometheus\": - To install with pipx: - To install with pip (not recommended, could break system dependencies) : - Create directory pterodactyl exporter . - Create the config file config.yml in that directory (set the values as needed, it's recommended to use https): - Create systemd service /etc/systemd/system/pterodactyl exporter.service : - Enable and start the service. - Add a job configuration: - To get the Grafana dashboard, import id 16575 . Alternatively download the JSON file from ","default_branch":null,"files":null,"tree":[],"storefront":"/r/LOENS2","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LOENS2/pterodactyl_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."}