Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Use dbus signals to track service health, instead of checking ActiveState in regular intervals #182

Open
soenkeliebau opened this issue May 27, 2021 · 1 comment
Labels

Comments

@soenkeliebau
Copy link
Member

The agent currently checks the ActiveState of its managed services every 10 seconds and reacts if a service reports anything else than active at that time.

This method has the potential of missing failures, if the service for example failed and restarted within that 10 second window and is back "in order" by the time the agent checks again.

I believe systemd exposes signals about failed jobs on dbus, which the agent should subscribe to in order to keep track of unit health.

@lfrancke lfrancke added this to the Release #2 milestone Aug 25, 2021
@soenkeliebau soenkeliebau modified the milestones: Release #2, Release #3 Sep 29, 2021
@soenkeliebau
Copy link
Member Author

Decided to remove this from release planning until zbus has released the new version, which will give us reliable information to plan.

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

No branches or pull requests

2 participants