diff --git a/checks/cisco_asa_temp b/checks/cisco_asa_temp index 73724680da8050c6998b622cf2e59b66eae92816..bbfb4e1d5c49bf1659cbbb60e8e8272c73582ced 100644 --- a/checks/cisco_asa_temp +++ b/checks/cisco_asa_temp @@ -13,15 +13,15 @@ # Note: item has ben changed from "Environment: <sensorname" to "Temperature <sensorname> # Note: wato/metrics changed to CMK build in template # -# warn, crit, minimum temp value +# + factory_settings['cisco_asa_temp_default_levels'] = {'levels_lower': (0.0, -10.0), - 'levels': (60, 80), - 'output_unit': 'c', - 'device_levels_handling': 'usr', + 'levels': (60, 80), + 'output_unit': 'c', + 'device_levels_handling': 'usr', } - def inventory_cisco_asa_temp(info): for sensorname, sensortype, sensorvalue, sensorstatus, sensorunits in info: if sensortype == '8' and sensorstatus == '1' and sensorname != '': @@ -38,7 +38,7 @@ def check_cisco_asa_temp(item, params, info): ) -check_info['cisco_asa_temp'] = { +check_info['cisco_asa_temp'] = { 'check_function' : check_cisco_asa_temp, 'inventory_function' : inventory_cisco_asa_temp, 'service_description' : 'Temperature %s', diff --git a/cisco_asa_temp.mkp b/cisco_asa_temp.mkp index 5b3f495b45427d1d13eddb4ef1c5b43381f911c1..63c13699d0933a803274fbdba9852e8044ce25c3 100644 Binary files a/cisco_asa_temp.mkp and b/cisco_asa_temp.mkp differ