Module: check_mk
Branch: master
Commit: 3e399e15c56ffdce0091392e5a4b7111bd5d5437
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3e399e15c56ffd…
Author: Goetz Golla <gg(a)mathias-kettner.de>
Date: Mon Dec 15 16:55:46 2014 +0100
logins: fixed a typo
---
checks/logins | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/logins b/checks/logins
index ac9636c..766bdd2 100644
--- a/checks/logins
+++ b/checks/logins
@@ -45,7 +45,7 @@ def check_logins(_no_item, params, info):
elif logins >= warn:
state = 1
- infotext = "%d logins on system, levels at %d/%d" % ( users, warn, crit
)
+ infotext = "%d logins on system, levels at %d/%d" % ( logins, warn,
crit )
perfdata = [ ( "logins", logins, warn, crit, 0 ) ]
yield state, infotext, perfdata