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

update project

parent d343d403
No related branches found
No related tags found
No related merge requests found
......@@ -12,14 +12,12 @@
# 24.02.2020: rewritten for cmk 1.6.x, includes "temperature.include"
# Note: item has ben changed from "Environment: <sensorname" to "Temperature <sensorname>
# Note: wato/metrics changed to use CMK build in template
# 30.05.2020: cleanup
#
#
factory_settings['cisco_asa_temp_default_levels'] = {'levels_lower': (0.0, -10.0),
'levels': (60, 80),
'output_unit': 'c',
'device_levels_handling': 'usr',
}
factory_settings['cisco_asa_temp_default_levels'] = {
}
def inventory_cisco_asa_temp(info):
......@@ -31,11 +29,11 @@ def inventory_cisco_asa_temp(info):
def check_cisco_asa_temp(item, params, info):
for sensorname, sensortype, sensorvalue, sensorstatus, sensorunits in info:
if sensorname == item and sensortype == '8':
yield check_temperature(reading=float(sensorvalue),
params=params,
unique_name='cisco_asa_temp_%s' % sensorname,
# dev_status=int(sensorstatus)
)
yield check_temperature(
reading=float(sensorvalue),
params=params,
unique_name='cisco_asa_temp_%s' % sensorname,
)
check_info['cisco_asa_temp'] = {
......@@ -54,4 +52,4 @@ check_info['cisco_asa_temp'] = {
'99.1.1.1.6', #ENTITY-SENSOR-MIB::entPhySensorUnitsDisplay
]),
'includes': ['temperature.include'],
}
}
\ No newline at end of file
No preview for this file type
......@@ -7,4 +7,4 @@
'title': u'monitor Cisco ASA temperature sensors',
'version': '20200224.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