mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-11-22 01:31:01 +01:00
Add blackbox jobs for managesieve
This commit is contained in:
parent
83b2e59677
commit
5cfb1bdc94
1 changed files with 28 additions and 0 deletions
|
@ -168,6 +168,34 @@ modules:
|
||||||
query_response:
|
query_response:
|
||||||
- expect: "^\\* OK .*$"
|
- expect: "^\\* OK .*$"
|
||||||
|
|
||||||
|
managesieve:
|
||||||
|
prober: tcp
|
||||||
|
timeout: 2s
|
||||||
|
tcp:
|
||||||
|
{% if blackbox_prefer_ipv4 -%}
|
||||||
|
preferred_ip_protocol: ip4
|
||||||
|
{% endif -%}
|
||||||
|
tls: true
|
||||||
|
query_response:
|
||||||
|
- expect: ".*SIEVE*"
|
||||||
|
- expect: "^OK .*$"
|
||||||
|
|
||||||
|
managesieve_starttls:
|
||||||
|
prober: tcp
|
||||||
|
timeout: 2s
|
||||||
|
tcp:
|
||||||
|
{% if blackbox_prefer_ipv4 -%}
|
||||||
|
preferred_ip_protocol: ip4
|
||||||
|
{% endif -%}
|
||||||
|
tls: true
|
||||||
|
query_response:
|
||||||
|
- expect: ".*SIEVE*"
|
||||||
|
- expect: "^OK .*$"
|
||||||
|
- send: "STARTTLS"
|
||||||
|
- expect: "^OK .*TLS.*$"
|
||||||
|
- starttls: yes
|
||||||
|
- expect: "^OK .*TLS.*$"
|
||||||
|
|
||||||
nextcloud_installed:
|
nextcloud_installed:
|
||||||
prober: http
|
prober: http
|
||||||
http:
|
http:
|
||||||
|
|
Loading…
Reference in a new issue