cluster/services/monitoring: add blackbox ircConnect module
This commit is contained in:
parent
ad0a3f8cc2
commit
d274edbb2d
1 changed files with 12 additions and 0 deletions
|
@ -66,6 +66,18 @@ in
|
|||
preferred_ip_protocol = "ip4";
|
||||
};
|
||||
};
|
||||
ircConnect = recursiveUpdate tcpConnect {
|
||||
tcp.query_response = [
|
||||
{ send = "NICK probe"; }
|
||||
{ send = "USER probe probe probe :${probeUserAgent}"; }
|
||||
{ send = "PING probe${probeId}"; }
|
||||
{ expect = "PONG .* :probe${probeId}"; }
|
||||
{ send = "QUIT"; }
|
||||
];
|
||||
};
|
||||
ircsConnect = recursiveUpdate ircConnect {
|
||||
tcp.tls = true;
|
||||
};
|
||||
};
|
||||
blackbox_targets = let
|
||||
regularTargets = mapTargets cluster.config.monitoring.blackbox.targets;
|
||||
|
|
Loading…
Reference in a new issue