devforth / hothost

Lightweight and minimalistic open-source Servers and HTTP monitor
MIT License
169 stars 14 forks source link

Hostname should be updated #27

Closed smokedsalmonbagel closed 9 months ago

smokedsalmonbagel commented 9 months ago

If a hostname changes the changes are not reflected in the app. It looks like it is sent each time but maybe it is not being updated on the server app?

ivictbor commented 9 months ago

For now hostname is captured only on agent start. If you are using docker agent please restart agent using

docker restart hothost-agent 

On the maxhine with agent. Otherwise restart script process using kill/etc

smokedsalmonbagel commented 9 months ago

Ahh - so it does. Perfect. I run getinfo.sh as a supervisord service so supervisorctl restart all worked. Thanks.