Hi,
I tried to setup blackbox monitoring for one my mail server but everything
waht I tried in prometheus I get only:
probe_success 0
In blackbox config I have:
imap_starttls:
prober: tcp
timeout: 5s
tcp:
query_response:
- expect: "OK.*STARTTLS"
- send: ". STARTTLS"
- expect: "OK"
- send: "QUIT"
smtp_starttls:
prober: tcp
timeout: 5s
tcp:
query_response:
- expect: "^220 ([^ ]+) ESMTP (.+)$"
- send: "EHLO prober"
- expect: "^250-STARTTLS"
- send: "STARTTLS"
- expect: "^220"
- send: "QUIT"
If I run this command from command line from telnet where is blackbox
started I get valid response. That mean mail server answer valid.
What can be problem, some idea?
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/697afb73-0f69-4e81-a027-44bb3fe0d2c2n%40googlegroups.com.