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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,7 @@ Monitoring Plugins:
85
85
* redis-status, valkey-status: modernize code and unify both plugins again after [PR #954](https://github.com/Linuxfabrik/monitoring-plugins/pull/954)
86
86
* rocketchat-stats: improve output
87
87
* statuspal: replace `flatdict` dependency with a recursive approach ([#1044](https://github.com/Linuxfabrik/monitoring-plugins/issues/1044))
88
+
* systemd-units-failed: show failed unit names in the first output line for better dashboard and SMS alert readability ([#967](https://github.com/Linuxfabrik/monitoring-plugins/issues/967))
DESCRIPTION="""Warns on any failed systemd units."""
30
30
@@ -39,7 +39,7 @@ def parse_args():
39
39
parser.add_argument(
40
40
'-V', '--version',
41
41
action='version',
42
-
version='%(prog)s: v{} by {}'.format(__version__, __author__)
42
+
version=f'%(prog)s: v{__version__} by {__author__}'
43
43
)
44
44
45
45
parser.add_argument(
@@ -52,7 +52,10 @@ def parse_args():
52
52
53
53
parser.add_argument(
54
54
'--ignore',
55
-
help='Ignore a unit, for example "dhcpd.service" (repeating). Supports glob according to https://docs.python.org/3/library/fnmatch.html. Default: %(default)s',
55
+
help='Ignore a unit, for example "dhcpd.service" (repeating). '
0 commit comments