Module: check_mk
Branch: master
Commit: a33841c40062afd990f16425625822c5ecfafe6d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a33841c40062af…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Feb 27 12:19:57 2013 +0100
FIX: active checks were disabled for custom active checks
---
modules/check_mk.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 52ef4a8..684c79c 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -1967,7 +1967,7 @@ define service {
active_checks_enabled\t\t%d
%s%s}
""" % (template, hostname, description, simulate_command(command),
- (command_line and not "freshness") and 1 or 0, extraconf, freshness))
+ (command_line and not freshness) and 1 or 0, extraconf, freshness))
# Levels for host check
if is_cluster(hostname):