Module: check_mk
Branch: master
Commit: c3dcbdf28b0090b2c6323fae58d98123466b693b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c3dcbdf28b0090…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Sep 23 15:34:12 2016 +0200
Fixed management board on "no agent" hosts
---
modules/check_mk.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 9d54ffe..f7d8e53 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -499,7 +499,10 @@ def is_tcp_host(hostname):
return in_binary_hostlist(hostname, tcp_hosts)
def is_ping_host(hostname):
- return not is_snmp_host(hostname) and not is_tcp_host(hostname) and not
has_piggyback_info(hostname)
+ return not is_snmp_host(hostname) \
+ and not is_tcp_host(hostname) \
+ and not has_piggyback_info(hostname) \
+ and not has_management_board(hostname)
def is_dual_host(hostname):
return is_tcp_host(hostname) and is_snmp_host(hostname)