Random Project

Error in Minimal Warnung for Fac

Hallo, ich an Fan goes unterminimal Warning. The Script raises an error in case of the the value get in “(!)” attached and is not in int.

Traceback (most recent call last):
File “/usr/lib/nagios/plugins/check_idrac”, line 841, in
result, exit_code = PARSER().main()
File “/usr/lib/nagios/plugins/check_idrac”, line 664, in main
hw_dict, exit_code = self.raise_alert(hw_dict, value_on_alert)
File “/usr/lib/nagios/plugins/check_idrac”, line 494, in raise_alert
if int(tmp[key][stat_t]) >= conf[‘fan_thresholds’][1]:
ValueError: invalid literal for int() with base 10: ‘3600(!)’