dangmocrang / check_idrac

A script to monitoring DELL IDRAC via SNMP
Other
74 stars 53 forks source link

Could not convert string to float, CPU1 Temp #74

Closed StillCantExitVim closed 7 months ago

StillCantExitVim commented 8 months ago

CPU --CPU 1 (32 cores/64 threads): ENABLED/OK [AMD EPYC 7502P 32-Core Processor]

Traceback (most recent call last): File "/usr/lib64/nagios/plugins/./check_idrac", line 949, in result, tmp_code = PARSER().main() ^^^^^^^^^^^^^^^ File "/usr/lib64/nagios/plugins/./check_idrac", line 760, in main hw_dict, exit_code = self.raise_alert(hw_dict, value_on_alert) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/nagios/plugins/./check_idrac", line 642, in raise_alert tmp[key][stat_t] = float(tmp[key][stat_t].strip('(!)')) / 10 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: could not convert string to float: '"CPU1 Temp"'

StillCantExitVim commented 7 months ago

Issue was caused by missing probe output. Updating idrac and system firmware followed by a reset of the system resolved this issue.