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

update project

parent 587af132
No related branches found
No related tags found
No related merge requests found
......@@ -12,12 +12,10 @@
# 24.02.2020: rewritten for cmk 1.6.x, includes "temperature.include"
# Note: item has ben changed from "Environment: <sensorname" to "Fan <sensorname>
# Note: wato/metrics changed to use CMK build in template
# 30.05.2020: cleanup
factory_settings['cisco_asa_fan_default_levels'] = {
'lower': (2000, 1000),
'upper': (6000, 7000),
'output_metrics': True,
}
......@@ -26,7 +24,6 @@ def inventory_cisco_asa_fan(info):
if sensortype == '10' and sensorstatus == '1' and sensorname != '':
if sensorname.lower().startswith('fan '):
sensorname = sensorname[4:]
yield sensorname, None
......@@ -38,6 +35,7 @@ def check_cisco_asa_fan(item, params, info):
sensorvalue = int(sensorvalue)
yield check_fan(sensorvalue, params)
check_info['cisco_asa_fan'] = {
'check_function' : check_cisco_asa_fan,
'inventory_function' : inventory_cisco_asa_fan,
......@@ -54,5 +52,4 @@ check_info['cisco_asa_fan'] = {
]),
'includes': ['fan.include'],
'default_levels_variable': 'cisco_asa_fan_default_levels',
}
}
\ No newline at end of file
No preview for this file type
......@@ -7,4 +7,4 @@
'title': u'monitor cisco ASA fan sensors',
'version': '200224.v04',
'version.min_required': '1.6.0',
'version.packaged': '1.6.0p8'}
\ No newline at end of file
'version.packaged': '1.4.0p38'}
\ No newline at end of file
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