Skip to content

Commit

Permalink
chopper: add scrutiny
Browse files Browse the repository at this point in the history
  • Loading branch information
devusb committed Mar 10, 2024
1 parent f3d9359 commit 81054f0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions hosts/chopper/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ in
"hass.${wildcardDomain}" = mkVirtualHost 8123;
"node-red.${wildcardDomain}" = mkVirtualHost 1880;
"paperless.${wildcardDomain}" = mkVirtualHost config.services.paperless.port;
"scrutiny.${wildcardDomain}" = mkVirtualHost config.services.scrutiny.settings.web.listen.port;
};
};

Expand Down
13 changes: 13 additions & 0 deletions hosts/chopper/monitoring.nix
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,17 @@ in
};
};

services.scrutiny = {
enable = true;
collector = {
enable = true;
settings = {
api.endpoint = "http://localhost:${builtins.toString config.services.scrutiny.settings.web.listen.port}";
};
};
settings = {
web.listen.port = 8082;
};
};

}

0 comments on commit 81054f0

Please sign in to comment.