agent icon indicating copy to clipboard operation
agent copied to clipboard

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

Open soenkeliebau opened this issue 4 years ago • 1 comments

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.

soenkeliebau avatar May 27 '21 14:05 soenkeliebau

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

soenkeliebau avatar Sep 29 '21 11:09 soenkeliebau