1st auto commit with script
This commit is contained in:
@@ -3,10 +3,6 @@
|
||||
"""Mailcow check for domains"""
|
||||
|
||||
|
||||
from pprint import pprint
|
||||
|
||||
from cmk.utils import debug
|
||||
|
||||
# import necessary elements from API version 2
|
||||
from cmk.agent_based.v2 import (
|
||||
AgentSection,
|
||||
@@ -96,8 +92,6 @@ def discover_mailcow_domains(section):
|
||||
|
||||
def check_mailcow_domains(item, params, section):
|
||||
"""the check function"""
|
||||
if debug.enabled():
|
||||
pprint(section)
|
||||
domain = section.get(item)
|
||||
if not domain:
|
||||
# if a previously found domain does not exist anymore, create a meaningful result
|
||||
|
||||
Reference in New Issue
Block a user