The influx shell has a -version
flag, but not influx server:
/path/to/bin/influx -version
InfluxDB shell version: 1.1.1
/path/to/bin/influxd -version
flag provided but not defined: -version
/path/to/bin/influxd -v
flag provided but not defined: -v
Should I assume that influx shell and influx server will always have the same version ?
curl -sL -I localhost:8086/ping
You should get something like:
HTTP/1.1 204 No Content
Content-Type: application/json
Request-Id: c7c8f7d7-b7ef-11e7-8002-000000000000
X-Influxdb-Version: 1.3.6
Date: Mon, 23 Oct 2017 12:43:33 GMT
If you are using HTTPS:
curl -skL -I 'https://myhost:8086/ping'