Thank you for all yours help.

With debug command:
curl 
'localhost:9115/probe?target=smtp.google.com:25&module=smtp_starttls&debug=true'

I found problem.
Problem was because in prometheus.yml I was set only hostname without port 
number.

caller=tcp.go:37 module=smtp_starttls target=my_mail_server level=error 
msg="Error splitting target address and port" err="address my_mail_server: 
missing port in address"

When I add port prober works.


Thanks again ! Cheers.


On Tuesday, 20 October 2020 at 11:53:58 UTC+2 [email protected] wrote:

> Oh, there's a much way to get the debug output, which is to add 
> &debug=true to the URL.
>
> curl 
> 'localhost:9115/probe?target=smtp.google.com:25&module=smtp_starttls&debug=true'
>
>

-- 
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/5244ff4e-5341-4c80-8421-1492b3decab0n%40googlegroups.com.

Reply via email to