Repository navigation
Extend systemd timers with data from systemd list-timers --all
#2264
Replies: 1 comment
|
To elaborate, once I enabled systemd service monitoring I started looking at failed units and while timer-controlled services are not particularly interesting if there's no failure, it becomes more relevant when there is a failure so tying timers/services/failures/logs together would be particularly useful... And I assume that it's probably more trouble than it's worth for something that's not primarily a systemd-monitoring service, but if timers were displayed with a red warning bullet when the last run of the service controlled by the timer exited in other than a SUCCESS state, it would be helpful for insight into what's going on with timer-controlled services... I understand that this is complicated by e.g., which exited clean but without status=0 and "SUCCESS." |
Uh oh!
There was an error while loading. Please reload this page.
Component
Hub
Description
I was looking at the systemd services tab and wanted to see what was going on with my timers... After enabling them, there's not a whole lot of information. I don't know if this logs update ( #1999 ) will help with more information or if this is a separate FR:
systemctl list-timers --allprovides a good bit of timer-specific context that I'm not seeing in the Beszel layout:Seeing the systemlog for a timer seems to suggest not:
So I think the most reasonable way to make the greatest utility out of
systemctl list-timers --alland beszel would be a separate tab under the main [Services] section so that one could toggle between the currentSystemd Servicesand a newSystemd Timersdisplay.To make it maximally useful, tying the timer back to the log output and/or the exit status of the last unit run would be useful, e.g., for apt-daily.timer calling apt-daily.service it was
Main PID: 1053539 (code=exited, status=0/SUCCESS).All reactions