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

update project

parent 3f5ccdb0
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,6 @@ from cmk.base.plugins.agent_based.utils.temperature import (
class CiscoAsaTempSensor(NamedTuple):
value: float
state: State
status: int
status_readable: str
unit: str
......@@ -215,7 +214,6 @@ def parse_cisco_asa_sensors(string_table: List[StringTable]) -> CiscoAsaSensors:
value=to_celsius(float(sensorvalue), sensorunits),
unit=sensorunits,
state=get_sensor_state(sensorstatus),
status=int(sensorstatus) - 1,
status_readable=get_status_readable(sensorstatus),
)})
......@@ -277,8 +275,6 @@ def check_cisco_asa_temp(item, params: TempParamType, section: CiscoAsaSensors)
yield from check_temperature(
sensor.value,
dev_unit=sensor.unit,
dev_status=sensor.status,
dev_status_name=sensor.status_readable,
params=params,
unique_name='check_cisco_asa_temp.%s' % item,
)
......
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