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,9 +3,6 @@
"""Mailcow check for mailboxes"""
import time
from pprint import pprint
from cmk.utils import debug
# import necessary elements from API version 2
from cmk.agent_based.v2 import (
@@ -115,8 +112,6 @@ def parse_mailcow_mailboxes(string_table):
def discover_mailcow_mailboxes(section):
"""the discover function"""
# since we have a service with item here we must create one service per item
if debug.enabled():
pprint(section)
for key in section:
yield Service(item=key)