forked from mirrors_public/oddlama_nix-config
feat: define global monitoring for each service and automatically configure telegraf based on it
This commit is contained in:
parent
79e1e782c4
commit
e35daee76d
23 changed files with 403 additions and 83 deletions
|
@ -1,3 +1,4 @@
|
|||
# FIXME: todo: host the proxy on sentinel so the IPs are not lost in natting
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
|
@ -360,6 +361,13 @@ in {
|
|||
];
|
||||
|
||||
globals.services.minecraft.domain = minecraftDomain;
|
||||
globals.monitoring.tcp.minecraft = {
|
||||
host = minecraftDomain;
|
||||
port = 25565;
|
||||
location = "home";
|
||||
network = "internet";
|
||||
};
|
||||
|
||||
nodes.sentinel = {
|
||||
# Rewrite destination addr with dnat on incoming connections
|
||||
# and masquerade responses to make them look like they originate from this host.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue