Dayzsa Exporter is a Prometheus exporter for DayZ Standalone servers. It depends on dayzsalauncher.com.
Metrics are exposed over HTTP at http://localhost:9100
.
The exporter can be installed on most Linux distributions. You can download the latest release from the releases page.
RPM packages can be installed using the following commands:
sudo dnf install dayzsa-exporter-amd64.rpm
Debian packages can be installed using the following commands:
sudo apt-get install -f ./dayzsa-exporter-amd64.deb
Once installed, the exporter can be started using the following command:
sudo systemctl enable dayzsa-exporter
sudo systemctl start dayzsa-exporter
You can view the logs with Journalctl:
sudo journalctl -u dayzsa-exporter -f
The exporter can be run as a Docker container.
docker run -d -p 9100:9100 ghcr.io/jsirianni/dayzsa-exporter:latest
The exporter is configured using a configuration file located at
/etc/dayzsa/config.yaml
. The configuration file is in YAML format.
host: localhost
# Collection interval duration
# e.g. 60s, 1m, 5m, 1h
interval: 60s
# One or more servers to monitor
servers:
- ip: "50.108.13.235"
port: 2424
- ip: "50.108.13.235"
port: 2324
- ip: "50.108.13.235"
port: 2315
- ip: "50.108.13.235"
port: 27016
Once installed, you can test with cURL
curl -s localhost:9100 | grep -v '#' | grep dayzsa_exporter
You can use Bindplane to monitor your exporter. The Prometheus Source can be used to collect metrics from the exporter.