monitoring
This commit is contained in:
parent
a0311c4837
commit
2670aee5f1
3 changed files with 38 additions and 27 deletions
|
@ -6,6 +6,7 @@ in {
|
|||
../../server.nix
|
||||
../../features/dns-cache.nix
|
||||
../../features/nginx.nix
|
||||
../../features/telemetry.nix
|
||||
];
|
||||
|
||||
networking.hostName = "ingress-proxy";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, config, ... }: {
|
||||
{ ... }: {
|
||||
imports = [
|
||||
../../templates/proxmox-lxc.nix
|
||||
../../server.nix
|
||||
|
@ -9,10 +9,6 @@
|
|||
system.stateVersion = "24.05";
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
|
||||
#networking.firewall.allowedTCPPorts = [
|
||||
# config.services.grafana.settings.server.http_port
|
||||
#];
|
||||
|
||||
services.grafana = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -48,8 +44,22 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
port = 14200;
|
||||
in [
|
||||
(static "aerial" [ 14200 ])
|
||||
(static "aerial" [ port ])
|
||||
(static "pineapple" [ port (port + 1) ])
|
||||
(static "watermelon" [ port (port + 1) (port + 2) ])
|
||||
(static "mango" [ port ])
|
||||
(static "happystaticbuzz" [ port ])
|
||||
(static "keylime" [ port ])
|
||||
(static "keysmash" [ port ])
|
||||
(static "ingress-proxy" [ port ])
|
||||
{
|
||||
job_name = "pve1";
|
||||
static_configs = [
|
||||
{ targets = [ "192.168.1.128:${port}" ]; }
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue