Commit 37c3bf16 authored by Sigmund Augdal's avatar Sigmund Augdal
Browse files

Only check enabled host with kind

parent 5c25b2d1
......@@ -169,7 +169,8 @@ def query_kind(session, var, query):
def check_kind(args):
session = requests.Session()
hosts = invoke('host.get', selectMacros=['macro', 'value'],
filter={'status': 0})
statuses = defaultdict(list)
groupstatuses = defaultdict(lambda: defaultdict(list))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment