format tree
This commit is contained in:
parent
24547fcd6c
commit
92c55595d0
43 changed files with 476 additions and 357 deletions
modules/nixos/monitoring
|
@ -30,19 +30,15 @@
|
|||
let
|
||||
hosts = import ./hosts.nix;
|
||||
in
|
||||
map
|
||||
(host: {
|
||||
protocol = "tcp";
|
||||
address = "${host}:22";
|
||||
send = "SSH-2.0-Telegraf";
|
||||
expect = "SSH-2.0";
|
||||
tags.host = host;
|
||||
tags.org = "nix-community";
|
||||
timeout = "10s";
|
||||
})
|
||||
hosts;
|
||||
prometheus.urls = [
|
||||
"https://events.ofborg.org/prometheus.php"
|
||||
];
|
||||
map (host: {
|
||||
protocol = "tcp";
|
||||
address = "${host}:22";
|
||||
send = "SSH-2.0-Telegraf";
|
||||
expect = "SSH-2.0";
|
||||
tags.host = host;
|
||||
tags.org = "nix-community";
|
||||
timeout = "10s";
|
||||
}) hosts;
|
||||
prometheus.urls = [ "https://events.ofborg.org/prometheus.php" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue