diff --git a/roles/base/files/usr/lib/check_mk_agent/plugins/freshness b/roles/base/files/usr/lib/check_mk_agent/plugins/freshness index a6fdb70..4a59697 100755 --- a/roles/base/files/usr/lib/check_mk_agent/plugins/freshness +++ b/roles/base/files/usr/lib/check_mk_agent/plugins/freshness @@ -7,7 +7,7 @@ import re import json try: - nrout = subprocess.run(["/usr/sbin/needrestart", "-b"], timeout=5, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + nrout = subprocess.run(["/usr/sbin/needrestart", "-b"], timeout=15, stdout=subprocess.PIPE, stderr=subprocess.PIPE) except subprocess.TimeoutExpired: exit(2) except Exception: