Module: check_mk
Branch: master
Commit: af5ddd584203b47aafe5843af2b204043f84ca07
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=af5ddd584203b4…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Apr 1 12:15:32 2019 +0200
fireeye.include, fireeye_mail: Fixed file formatting
Change-Id: I55afffb07d3a32cb084cde03cbe17fe52b81cc06
---
checks/fireeye.include | 4 ++--
checks/fireeye_mail | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/checks/fireeye.include b/checks/fireeye.include
index a69f8b6..5efa590 100644
--- a/checks/fireeye.include
+++ b/checks/fireeye.include
@@ -68,7 +68,7 @@ def check_fireeye_states(states):
def fireeye_check_generic(infotext, counter, value, warn=None, crit=None):
perfdata = [(counter, value, warn, crit)]
if crit is not None and value >= crit:
- return (2, infotext + ' (warn/crit at %d/%d)' % (warn,crit), perfdata)
+ return (2, infotext + ' (warn/crit at %d/%d)' % (warn, crit), perfdata)
elif warn is not None and value >= warn:
- return (1, infotext + ' (warn/crit at %d/%d)' % (warn,crit), perfdata)
+ return (1, infotext + ' (warn/crit at %d/%d)' % (warn, crit), perfdata)
return (0, infotext, perfdata)
diff --git a/checks/fireeye_mail b/checks/fireeye_mail
index bef7295..4193683 100644
--- a/checks/fireeye_mail
+++ b/checks/fireeye_mail
@@ -43,7 +43,7 @@ def fireeye_counter_generic(value, what, average):
avg = get_average(' %s avg' % counter, this_time, rate, average)
return (state, '%s: %.2f mails/%d seconds' % \
(what, avg * average, average), perfdata)
- return (state, '%s: %.2f mails/s' % (what, rate ), perfdata)
+ return (state, '%s: %.2f mails/s' % (what, rate), perfdata)
# .--mail----------------------------------------------------------------.