You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we have just switched from a home-made solution to needrestart for monitoring restarts, and we're quite happy with the results. one thing we're finding difficult to use, however, is that the overview summary is a little confusing.
Now I know this means there are two services to restart, but it's not really obvious. I need to "scan" for the (!) symbol to see where the problem is. I think a much easier to read version would simply be:
WARN - Services: 1
... or, even better:
WARN - Services 1 (gitlab-runner.service)
... yes, actually listing the services in there. I understand there are space constraints, but the way we use needrestart, it actually restarts most stuff on its own and it's only a handful of small things that need to be restarted by hand.
I've looked at the source to implement this and it's not super trivial, but should be possible. I figured I would ask here before working on a PR.
Thanks!
The text was updated successfully, but these errors were encountered:
Improving the status line sounds like a good idea (I don't use the nagios plugin at all). Your first proposal looks good. The list of services could be enabled by a cli parameter (something like the max. # of services to be shown, defaulting to 0?).
we have just switched from a home-made solution to needrestart for monitoring restarts, and we're quite happy with the results. one thing we're finding difficult to use, however, is that the overview summary is a little confusing.
for example, say we have:
Now I know this means there are two services to restart, but it's not really obvious. I need to "scan" for the
(!)
symbol to see where the problem is. I think a much easier to read version would simply be:... or, even better:
... yes, actually listing the services in there. I understand there are space constraints, but the way we use needrestart, it actually restarts most stuff on its own and it's only a handful of small things that need to be restarted by hand.
I've looked at the source to implement this and it's not super trivial, but should be possible. I figured I would ask here before working on a PR.
Thanks!
The text was updated successfully, but these errors were encountered: