Skip to content

Commit

Permalink
Merge pull request #27 from ggzengel/patch-1
Browse files Browse the repository at this point in the history
Always return perfdata for startup_time even with -n
  • Loading branch information
Josef-Friedrich authored Nov 11, 2023
2 parents 1d4593c + b2cec61 commit c44f8ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check_systemd.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class model to separate concerns. A Nagios / Icinga plugin must perform these
print("Failed to import the NagiosPlugin library.")
exit(3)

__version__: str = "2.3.1"
__version__: str = "2.3.2"


is_gi = True
Expand Down Expand Up @@ -1442,12 +1442,12 @@ def main():
tasks: typing.List[object] = [
UnitsResource(),
UnitsContext(),
StartupTimeResource(),
SystemdSummary(),
]

if opts.scope_startup_time:
tasks += [
StartupTimeResource(),
StartupTimeContext(),
]

Expand Down

0 comments on commit c44f8ce

Please sign in to comment.