cluster/services/monitoring: add blackbox nextcloudStatus module
This commit is contained in:
parent
b4b3899c5b
commit
ae62e395a5
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue