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 5f8b97a3 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

update project

parent 8a6df2cf
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ def discovery_cisco_asa_connections(section: CiscoAsaFwConnections) -> Discovery ...@@ -70,7 +70,7 @@ def discovery_cisco_asa_connections(section: CiscoAsaFwConnections) -> Discovery
def check_cisco_asa_connections(params, section: CiscoAsaFwConnections) -> CheckResult: def check_cisco_asa_connections(params, section: CiscoAsaFwConnections) -> CheckResult:
yield from check_levels( yield from check_levels(
section.current, section.current,
# levels_lower=params.get('lower', None), levels_lower=params.get('lower', None),
levels_upper=params.get('connections', None), levels_upper=params.get('connections', None),
metric_name='fw_connections_active', metric_name='fw_connections_active',
render_func=lambda v: '%s' % str(v), render_func=lambda v: '%s' % str(v),
...@@ -98,7 +98,7 @@ register.snmp_section( ...@@ -98,7 +98,7 @@ register.snmp_section(
], ],
detect=any_of( detect=any_of(
startswith('.1.3.6.1.2.1.1.1.0', 'cisco adaptive security'), startswith('.1.3.6.1.2.1.1.1.0', 'cisco adaptive security'),
# startswith('.1.3.6.1.2.1.1.1.0', 'cisco firepower threat defense'), startswith('.1.3.6.1.2.1.1.1.0', 'cisco firepower threat defense'),
startswith('.1.3.6.1.2.1.1.1.0', 'ccisco firewall services'), startswith('.1.3.6.1.2.1.1.1.0', 'ccisco firewall services'),
contains('.1.3.6.1.2.1.1.1.0', 'cisco pix security'), contains('.1.3.6.1.2.1.1.1.0', 'cisco pix security'),
......
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