Relevant telegraf.conf:
System info:
1.17.1 + 1.17.2
Docker
Steps to reproduce:
- Use x509_cert Plugin to verify SSL Certs
- Run telegraf with --test
Expected behavior:
telegraf retrieves ssl version information and performs a chain check:
x@odo:/etc/telegraf/telegraf.d# sudo telegraf --test --config certs.conf
2021-02-04T23:20:56Z I! Starting Telegraf 1.17.0
> x509_cert,common_name=testhost.net,host=odo,issuer_common_name=R3,public_key_algorithm=RSA,san=testhost.net,serial_number=40d124535dbdeb52a71517554264ddcb576,signature_algorithm=SHA256-RSA,source=https://testhost.net:443,verification=valid age=2271661i,enddate=1617985195i,expiry=5504338i,startdate=1610209195i,verification_code=0i 1612480857000000000
Actual behavior:
plugin fails with a dial tcp: i/o timeout error:
2021-02-04T23:20:12Z I! Starting Telegraf 1.17.1
2021-02-04T23:20:12Z E! [inputs.x509_cert] Error in plugin: cannot get SSL cert 'https://testhost.net:443': dial tcp: i/o timeout
Additional info:
Config:
[[inputs.x509_cert]]
interval = "300s"
## List certificate sources
sources = [
"https://testhost.net:443"
]
Stopped working with 1.17.1 - after downgrade to 1.17.0 it's working again.
Relevant telegraf.conf:
System info:
1.17.1 + 1.17.2
Docker
Steps to reproduce:
Expected behavior:
telegraf retrieves ssl version information and performs a chain check:
Actual behavior:
plugin fails with a dial tcp: i/o timeout error:
Additional info:
Config:
Stopped working with 1.17.1 - after downgrade to 1.17.0 it's working again.