mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-11-22 09:41:01 +01:00
Add submission+starttls blackbox check
This commit is contained in:
parent
04bf2db312
commit
3ab49a7daf
1 changed files with 14 additions and 0 deletions
|
@ -131,6 +131,20 @@ modules:
|
|||
- expect: "^250 .*$"
|
||||
- send: "QUIT"
|
||||
|
||||
submission_starttls:
|
||||
prober: tcp
|
||||
timeout: 2s
|
||||
tcp:
|
||||
{% if blackbox_prefer_ipv4 -%}
|
||||
preferred_ip_protocol: ip4
|
||||
{% endif -%}
|
||||
query_response:
|
||||
- starttls: true
|
||||
- expect: "^220 .*SMTP .*$"
|
||||
- send: "HELO {{ blackbox_smtp_name }}"
|
||||
- expect: "^250 .*$"
|
||||
- send: "QUIT"
|
||||
|
||||
imap:
|
||||
prober: tcp
|
||||
timeout: 2s
|
||||
|
|
Loading…
Reference in a new issue