1st auto commit with script
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user