modules/nixos/monitoring/telegraf: add hydra and nixpkgs-update logs
This commit is contained in:
parent
430555b4ae
commit
a5e91e20b4
1 changed files with 12 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
|||
{
|
||||
services.telegraf.extraConfig.inputs = {
|
||||
http_response = [
|
||||
{
|
||||
urls = [ "https://hydra.nix-community.org/" ];
|
||||
response_string_match = "hosted on this server";
|
||||
tags.host = "build03.nix-community.org";
|
||||
tags.org = "nix-community";
|
||||
}
|
||||
{
|
||||
urls = [ "https://lemmy.nix-community.org/" ];
|
||||
response_string_match = "Lemmy for Nix";
|
||||
|
@ -13,6 +19,12 @@
|
|||
tags.host = "build03.nix-community.org";
|
||||
tags.org = "nix-community";
|
||||
}
|
||||
{
|
||||
urls = [ "https://r.ryantm.com/log/" ];
|
||||
response_string_match = "Index of /log/";
|
||||
tags.host = "build02.nix-community.org";
|
||||
tags.org = "nix-community";
|
||||
}
|
||||
];
|
||||
net_response =
|
||||
let
|
||||
|
|
Loading…
Add table
Reference in a new issue