ONLY SUPPORTS CSGO
You need to have NodeJS installed if you want to run the sources, NVM (Node Version Manager) is a simple tool to get it running : https://github.com/nvm-sh/nvm
- Download the repo (using git clone or direct zip download)
- Enter the srcds_exporter directory and run
npm i
, this will install all required dependencies - Update the example.config.js and rename it to config.js. For more info see #Config Setup
- Start the script with node :
node index.js
, you can create a service or run it in a screen to keep it active in background. To script will run once a minute and update InfluxDB with the latest data.
Is there a Grafana dashboard available ? YES!
https://grafana.com/grafana/dashboards/12645
-
influxHost = your ip or hostname to your InfluxDB
-
influxDatabase = name of your InfluxDB
-
influxUsername = username to your InfluxDB
-
influxPassword = password to your InfluxDB
servers is a list of servers. If you got multiple just add another { ip: "care-free.net", port: 27015, rconPassword: "xyz", },
and you should be good to go! If you only got 1, remove the remaining onces.
We don't fetch the name of the server so if you want to specificy it instead of the IP:PORT as dashboard info. add "Name" to it like below { ip: "care-free.net", name: "Surf Tier 1-6", port: 27015, rconPassword: "xyz", },
If you encounter any issue, feel free to open an issue or contact me on Discord!
-Discord : Fragstealern#2543
Original creator, using promethus as datasource.
- Twitter : @Unyxos
- Discord : Unyxos#1337
- Email : me@corentincloss.fr