still have 2 questions: - which module can be used to implement Nagios check_ldap_startTLS? - Is there a way to know what does smtp_startTLS module exactly do? On Wednesday, May 18, 2022 at 7:55:28 PM UTC+8 nina guo wrote:
> Is there a way to know what does smtp_startTLS module exactly do? > > On Wednesday, May 18, 2022 at 7:36:37 PM UTC+8 nina guo wrote: > >> Thank you very much. >> >> On Wednesday, May 18, 2022 at 7:18:17 PM UTC+8 [email protected] >> wrote: >> >>> Yes, that should work. If you have trouble, open(curl) the scrape URL >>> but add &debug=true to see what happens. >>> >>> /MR >>> >>> On Wed, May 18, 2022, 12:34 nina guo <[email protected]> wrote: >>> >>>> Hi, >>>> >>>> Can I use the following mode to implement Nagios check_smtp? >>>> >>>> smtp_starttls: >>>> >>>> prober: tcp >>>> >>>> timeout: 5s >>>> >>>> tcp: >>>> >>>> query_response: >>>> >>>> - expect: "^220 ([^ ]+) ESMTP (.+)$" >>>> >>>> - send: "EHLO prober\r" >>>> >>>> - expect: "^250-STARTTLS" >>>> >>>> - send: "STARTTLS\r" >>>> >>>> - expect: "^220" >>>> >>>> - starttls: true >>>> >>>> - send: "EHLO prober\r" >>>> >>>> - expect: "^250-AUTH" >>>> >>>> - send: "QUIT\r" >>>> >>>> smtp_starttls: >>>> >>>> prober: tcp >>>> >>>> timeout: 5s >>>> >>>> tcp: >>>> >>>> query_response: >>>> >>>> - expect: "^220 ([^ ]+) ESMTP (.+)$" >>>> >>>> - send: "EHLO prober\r" >>>> >>>> - expect: "^250-STARTTLS" >>>> >>>> - send: "STARTTLS\r" >>>> >>>> - expect: "^220" >>>> >>>> - starttls: true >>>> >>>> - send: "EHLO prober\r" >>>> >>>> - expect: "^250-AUTH" >>>> >>>> - send: "QUIT\r" >>>> >>>> -- >>>> 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/22fa8e2d-dd7f-4a02-8c26-efb1b12824edn%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/prometheus-users/22fa8e2d-dd7f-4a02-8c26-efb1b12824edn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- 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/da05f78f-f034-4b59-9a43-ad30049d1083n%40googlegroups.com.

