cluster/services/monitoring: add blackbox nextcloudStatus module

This commit is contained in:
Max Headroom 2023-06-05 01:10:51 +02:00
parent b4b3899c5b
commit ae62e395a5

View file

@ -78,6 +78,14 @@ in
ircsConnect = recursiveUpdate ircConnect {
tcp.tls = true;
};
nextcloudStatus = recursiveUpdate https2xx {
http = {
fail_if_body_not_matches_regexp = [
''"installed":true''
''"maintenance":false''
];
};
};
};
blackbox_targets = let
regularTargets = mapTargets cluster.config.monitoring.blackbox.targets;