Collection of CheckMK checks (see https://checkmk.com/). All checks and plugins are provided as is. Absolutely no warranty. Send any comments to thl-cmk[at]outlook[dot]com

Skip to content
Snippets Groups Projects
Commit 6d688f03 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

update project

parent 5a7ccd00
No related branches found
No related tags found
No related merge requests found
......@@ -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={},
)
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment