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 = {
|
services.telegraf.extraConfig.inputs = {
|
||||||
http_response = [
|
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/" ];
|
urls = [ "https://lemmy.nix-community.org/" ];
|
||||||
response_string_match = "Lemmy for Nix";
|
response_string_match = "Lemmy for Nix";
|
||||||
|
@ -13,6 +19,12 @@
|
||||||
tags.host = "build03.nix-community.org";
|
tags.host = "build03.nix-community.org";
|
||||||
tags.org = "nix-community";
|
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 =
|
net_response =
|
||||||
let
|
let
|
||||||
|
|
Loading…
Add table
Reference in a new issue