mallocator/Elasticsearch-Exporter

Getting getaddrinfo ENOTFOUND

onlyjazz opened this issue · 1 comments

performing a command like this
node exporter.js -a localhost -i kibana-int -b "https://myes_server.com" -B user:pass

and I get an ENOTFOUND error - which I guess is that the tool isn't able to resolve the destination host

The exporter should be able to resolve hostnames without a problem, it just doesn't work with the protocol. If you want a secure connection try with -U (--sourceUseSSL), which would make your options look like this:

node exporter.js -a localhost -i kibana-int -b myes_server.com -U true -B user:pass