VEGAS/backbone-routing: add monitoring
This commit is contained in:
parent
4202954095
commit
b499223e2a
2 changed files with 17 additions and 0 deletions
|
@ -6,6 +6,7 @@ in
|
||||||
imports = [
|
imports = [
|
||||||
./port-forward.nix
|
./port-forward.nix
|
||||||
./peering.nix
|
./peering.nix
|
||||||
|
./monitoring.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.nat = {
|
networking.nat = {
|
||||||
|
|
16
hosts/VEGAS/services/backbone-routing/monitoring.nix
Normal file
16
hosts/VEGAS/services/backbone-routing/monitoring.nix
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
services.grafana-agent.settings.integrations.blackbox = {
|
||||||
|
blackbox_targets = [
|
||||||
|
{
|
||||||
|
name = "default/autobahn";
|
||||||
|
module = "tcpConnect";
|
||||||
|
address = "10.15.0.2:80";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "default/anon-relay";
|
||||||
|
module = "tcpConnect";
|
||||||
|
address = "10.64.0.1:1080";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue