1st auto commit with script

This commit is contained in:
2026-03-07 17:23:29 +00:00
parent a8e26b4cd1
commit 027a303af1
3 changed files with 1 additions and 18 deletions

View File

@@ -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