HI there, Could someone please help me how I can set up http agent to get Prometheus metrics having a https url which requires certs and tls specific tags while retrieving the metrics.
Zabbix Agent with system.run[curl -s --tlsv1.2 --tls-max 1.2 --key /tmp/server.key --cert /tmp/server.crt --cacert /tmp/cacrt.pem https://182.90.215.216:5000/metrics] works perfectly fine.
But I am finding hard to translate the exact command into http agent. Any help or leads is really appreciated.
I have tried below but getting this Cannot perform request: Connection timed out after 10001 milliseconds
Zabbix Agent with system.run[curl -s --tlsv1.2 --tls-max 1.2 --key /tmp/server.key --cert /tmp/server.crt --cacert /tmp/cacrt.pem https://182.90.215.216:5000/metrics] works perfectly fine.
But I am finding hard to translate the exact command into http agent. Any help or leads is really appreciated.
I have tried below but getting this Cannot perform request: Connection timed out after 10001 milliseconds