Init
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# xonotic_exporter.toml
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Xonotic Prometheus Exporter — configuration
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
# ── Exporter HTTP listener ────────────────────────────────────────────────────
|
||||
[exporter]
|
||||
host = "0.0.0.0" # bind address for the Prometheus scrape endpoint
|
||||
port = 9260 # Prometheus will scrape http://<this-host>:9260/metrics?target=<name>
|
||||
|
||||
|
||||
# ── Servers ───────────────────────────────────────────────────────────────────
|
||||
# Add one [[servers]] block per Xonotic game server.
|
||||
#
|
||||
# rcon_mode values:
|
||||
# 0 = nonsecure (password sent in plaintext — avoid in production)
|
||||
# 1 = secure-time (HMAC-MD4 signed with current timestamp)
|
||||
# 2 = secure-challenge (HMAC-MD4 signed with server challenge — recommended)
|
||||
#
|
||||
# The rcon_mode must match what is set in server.cfg:
|
||||
# rcon_restricted 0 → use mode 0 (nonsecure)
|
||||
# rcon_secure 1 → use mode 1 (secure-time)
|
||||
# rcon_secure 2 → use mode 2 (secure-challenge / MD4)
|
||||
|
||||
[[servers]]
|
||||
name = "vehicles"
|
||||
host = "localhost"
|
||||
port = 26010
|
||||
rcon_password = "CHANGEME" # fill in your rcon password
|
||||
rcon_mode = 2 # secure-challenge (MD4)
|
||||
|
||||
[[servers]]
|
||||
name = "resurrection"
|
||||
host = "localhost"
|
||||
port = 26015
|
||||
rcon_password = "CHANGEME" # fill in your rcon password
|
||||
rcon_mode = 2
|
||||
|
||||
[[servers]]
|
||||
name = "insurrection"
|
||||
host = "localhost"
|
||||
port = 26016
|
||||
rcon_password = "CHANGEME" # fill in your rcon password
|
||||
rcon_mode = 2
|
||||
Reference in New Issue
Block a user