I want to monitor an external server with glances and I don’t want to connect this server to my home network.
Glances is currently running at https://subdomain.domain.com/glances
(configured with nginx reverse proxy). Without going too much into detail, I can only set it up like this (and I can’t for example configure nginx to https://glances.domain.com
).
This works:
curl -X GET https://subdomain.domain.com/glances/api/3/mem/free
> {"free":1499201536}
However, I can’t get this set up in home assistant, probably because glances is running on a subfolder. I tried:
- hostname: https://subdomain.domain.com/glances
- port: 443
But I get the error that it can’t connect. I have a hunch that it would work if I could leave the port field empty, but it’s a required field.