Module: check_mk
Branch: master
Commit: e03221fef5b87bef242c97eeddb83f862490e5bd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e03221fef5b87b…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Mon Jul 23 17:12:00 2018 +0200
Addition to werk 5088: add missing return in postgres_stats
Change-Id: I4998a05a4bd2f529ccf1fd7527a61a9bf9f0a188
---
checks/postgres_stats | 1 +
1 file changed, 1 insertion(+)
diff --git a/checks/postgres_stats b/checks/postgres_stats
index c4b5593..52f439c 100644
--- a/checks/postgres_stats
+++ b/checks/postgres_stats
@@ -107,6 +107,7 @@ def check_postgres_stats(item, params, parsed):
if last_ts is None:
set_item_state(key, now)
yield 0, infotext
+ return
age = now - last_ts
warn, crit = params["never_analyze_vacuum"]