From 21e754afca2094f26ebdcf7d32430628ce4464ef Mon Sep 17 00:00:00 2001 From: Grischa Zengel Date: Fri, 10 Nov 2023 23:30:00 +0100 Subject: [PATCH] Always return perfdata for startup_time even with -n --- check_systemd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_systemd.py b/check_systemd.py index 6785309..2c2fcc1 100755 --- a/check_systemd.py +++ b/check_systemd.py @@ -1442,12 +1442,12 @@ def main(): tasks: typing.List[object] = [ UnitsResource(), UnitsContext(), + StartupTimeResource(), SystemdSummary(), ] if opts.scope_startup_time: tasks += [ - StartupTimeResource(), StartupTimeContext(), ]