zarplata / zabbix-agent-extension-elasticsearch

Zabbix agent extension for monitoring Elasticsearch
35 stars 29 forks source link

elasticDSN does not allow HTTPS URLs #13

Closed SchumacherFM closed 5 years ago

SchumacherFM commented 5 years ago

Hi there,

thank you for this tool but we actually can't use it because the HTTP protocol has been hardcoded. For example here: https://github.com/zarplata/zabbix-agent-extension-elasticsearch/blob/master/elastic.go#L203

Our services run on HTTPS and that does not work :-(

Can you please fix it?

Thanks!

tears-of-noobs commented 5 years ago

@SchumacherFM Hi. Try out https branch. Also be note that if you use the self-signed certificate you should pass CA path to the extension, new template has already had new macro - {$CA_PATH} which you can use.

SchumacherFM commented 5 years ago

Works for me! Thanks!