Add ARK server directory mappings for accurate disk usage detection
Map each ARK service to its specific data directory: - ark-island -> /var/lib/ark-servers/island - ark-scorched -> /var/lib/ark-servers/scorched - ark-center -> /var/lib/ark-servers/center - ark-aberration -> /var/lib/ark-servers/aberration - ark-extinction -> /var/lib/ark-servers/extinction - ark-ragnarok -> /var/lib/ark-servers/ragnarok - ark-valguero -> /var/lib/ark-servers/valguero Based on NixOS configuration in srv02/configuration.nix.
This commit is contained in:
parent
dfe9c11102
commit
a3c9ac3617
@ -356,6 +356,15 @@ impl SystemdCollector {
|
||||
}
|
||||
s if s.contains("syncthing") => vec!["/var/lib/syncthing", "/home/syncthing"],
|
||||
|
||||
// Game servers (ARK Survival Ascended)
|
||||
s if s == "ark-island" => vec!["/var/lib/ark-servers/island"],
|
||||
s if s == "ark-scorched" => vec!["/var/lib/ark-servers/scorched"],
|
||||
s if s == "ark-center" => vec!["/var/lib/ark-servers/center"],
|
||||
s if s == "ark-aberration" => vec!["/var/lib/ark-servers/aberration"],
|
||||
s if s == "ark-extinction" => vec!["/var/lib/ark-servers/extinction"],
|
||||
s if s == "ark-ragnarok" => vec!["/var/lib/ark-servers/ragnarok"],
|
||||
s if s == "ark-valguero" => vec!["/var/lib/ark-servers/valguero"],
|
||||
|
||||
// System services - check logs and config
|
||||
s if s.contains("systemd") => vec!["/var/log/journal"],
|
||||
s if s.contains("cron") => vec!["/var/spool/cron", "/var/log/cron"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user