diff --git a/hosts/sire/guests/influxdb.nix b/hosts/sire/guests/influxdb.nix index ec49f67..e97ac5f 100644 --- a/hosts/sire/guests/influxdb.nix +++ b/hosts/sire/guests/influxdb.nix @@ -41,9 +41,6 @@ in { fieldpass = [ "percent_packet_loss" "average_response_ms" - "standard_deviation_ms" - "reply_received" - "percent_reply_loss" ]; } { @@ -58,9 +55,6 @@ in { fieldpass = [ "percent_packet_loss" "average_response_ms" - "standard_deviation_ms" - "reply_received" - "percent_reply_loss" ]; } ]; diff --git a/modules/globals.nix b/modules/globals.nix index 325491e..9efe88c 100644 --- a/modules/globals.nix +++ b/modules/globals.nix @@ -92,14 +92,20 @@ in { }; }; }); + }; - #telegrafChecks = mkOption { - # type = types.attrsOf (types.submodule { - # options = { - # domain = mkOption {}; - # }; - # }); - #}; + monitoring = { + ping = mkOption { + type = types.attrsOf (types.submodule { + options = { + fromNetwork = mkOption { + type = types.str; + description = "The network from which this service is reachable."; + default = "external"; + }; + }; + }); + }; }; }; };