mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-28 17:38:30 +02:00
more monitoring
This commit is contained in:
parent
5089f62112
commit
53eb192ea8
9 changed files with 147 additions and 24 deletions
|
@ -86,6 +86,7 @@
|
|||
job = "caddy_access_log";
|
||||
agent = "caddy-promtail";
|
||||
__path__ = "/var/log/caddy/*.log";
|
||||
host = "falkenstein";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
@ -107,6 +108,19 @@
|
|||
db_type = "city";
|
||||
};
|
||||
}
|
||||
{
|
||||
geoip = {
|
||||
db = "/var/lib/GeoIP/GeoLite2-ASN.mmdb";
|
||||
source = "remote_ip";
|
||||
db_type = "asn";
|
||||
};
|
||||
}
|
||||
{
|
||||
labeldrop = [
|
||||
"geoip_subdivision_code"
|
||||
"geoip_continent_code"
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue