diff --git a/agent_based/cisco_asa_sensors.py b/agent_based/cisco_asa_sensors.py index 58e213c24b9df00aa773218376d34a04c3803916..03e7c20963f5fd8af88d5b64751b6adc6b018b33 100644 --- a/agent_based/cisco_asa_sensors.py +++ b/agent_based/cisco_asa_sensors.py @@ -9,7 +9,7 @@ # # Monitor Cisco ASA Sensors (Temperature, Fan and Power supply) # -# 2021-03-21: fixed params in cisco_asa_fan +# 2021-03-21: fixed params in cisco_asa_fan, removed params from cisco_asa_power # # # sample snmpwalk @@ -320,7 +320,7 @@ def discovery_cisco_asa_power(section: Dict) -> DiscoveryResult: yield Service(item=key) -def check_cisco_asa_power(item, params, section) -> CheckResult: +def check_cisco_asa_power(item, section) -> CheckResult: try: sensor = section['power'][item] @@ -336,5 +336,4 @@ register.check_plugin( sections=['cisco_asa_sensors'], discovery_function=discovery_cisco_asa_power, check_function=check_cisco_asa_power, - check_default_parameters={}, ) diff --git a/cisco_asa_sensors.mkp b/cisco_asa_sensors.mkp index a6b6243ab6935936e2daa46eb1b1ffa21df979e0..f84efb0826041f01037723c2bd8b620005c11066 100644 Binary files a/cisco_asa_sensors.mkp and b/cisco_asa_sensors.mkp differ