1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-12-22 08:17:33 +01:00

Add blackbox jobs for managesieve

This commit is contained in:
s3lph 2021-02-20 23:10:46 +01:00
parent 83b2e59677
commit 5cfb1bdc94

View file

@ -168,6 +168,34 @@ modules:
query_response:
- 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:
prober: http
http: