Skip to content

Include MQTT loop status in health check #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
penguineer opened this issue May 27, 2025 · 1 comment
Open

Include MQTT loop status in health check #8

penguineer opened this issue May 27, 2025 · 1 comment

Comments

@penguineer
Copy link
Member

The service's health check should include the status of the MQTT loop to detect unexpected failures.

@penguineer
Copy link
Member Author

Der negative Health-Check sagt ja, dass der Service neu gestartet werden sollte. Jedoch ist das eigentlich nicht nötig, wenn der MQTT-Server oder das Netzwerk ausfallen, weil dieser Service sich automatisch neu verbindet. Ein Restart des Service hätte den gleichen Effekt mit mehr Overhead.

Besser ist es deshalb, auf die ioloop der MQTT-Bibliothek zu prüfen. Wenn die abstürzt, gibt es tatsächlich ein Problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant