aboutsummaryrefslogtreecommitdiff
path: root/hosts/common/server/prometheus.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/common/server/prometheus.nix')
-rw-r--r--hosts/common/server/prometheus.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/hosts/common/server/prometheus.nix b/hosts/common/server/prometheus.nix
index 7f6b207..05162a8 100644
--- a/hosts/common/server/prometheus.nix
+++ b/hosts/common/server/prometheus.nix
@@ -65,10 +65,8 @@ in {
job_name = "blackbox-ping";
metrics_path = "/probe";
params = { module = [ "icmp" ]; };
- static_configs = [{
- targets =
- [ "8.8.8.8" "1.1.1.1" "4.4.4.4" "fcuny.net" "git.fcuny.net" ];
- }];
+ static_configs =
+ [{ targets = [ "8.8.8.8" "1.1.1.1" "git.fcuny.net" ]; }];
relabel_configs = [
{
source_labels = [ "__address__" ];
@@ -87,7 +85,7 @@ in {
{
job_name = "blackbox-http";
metrics_path = "/probe";
- params = { module = [ "http_2xx" ]; };
+ params = { module = [ "https_2xx" ]; };
static_configs = [{
targets = [
"https://fcuny.net"