AutoSync from Dev System
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# pylint: disable=missing-module-docstring, unused-argument, missing-function-docstring
|
||||
|
||||
from pprint import pprint
|
||||
|
||||
from cmk.utils import debug
|
||||
|
||||
# import necessary elements from API version 2
|
||||
from cmk.agent_based.v2 import (
|
||||
AgentSection,
|
||||
@@ -34,8 +30,6 @@ def discover_hal9002_status(section):
|
||||
|
||||
def check_hal9002_status(params, section):
|
||||
"""the check function"""
|
||||
if debug.enabled():
|
||||
pprint(section)
|
||||
# print(params["state_if_update_is_available"])
|
||||
status = section["status"]
|
||||
version = section["version"]
|
||||
|
||||
Reference in New Issue
Block a user