Hi,
it's me again! In order to get the last fix you implemented, I've updated check_redfish today for all of our hosts.
It was a quite big jump from 1.12.1 to 2.1.2 (next-release), but almost everything still works.
I noticed a problem with the temp module.
It happens on both Dell (e.g. Dell Inc. PowerEdge C6520/ C6620 ) and HPE (e.g. HPE ProLiant DL360 Gen10/ DL560 Gen10). At first I thought it was related to the HPE server being shut down (Power: Off), but the Dell is running and it still happens there.
It's also strange that this only affects like 20 out of 1000+ hosts of the same model.
I'll try and get a mockup of a failing one.
[Traceback (most recent call last):
File "/omd/sites/mon/local/lib/monitoring-plugins/mon/check_redfish/check_redfish.py", line 76, in
main()
File "/omd/sites/mon/local/lib/monitoring-plugins/mon/check_redfish/check_redfish.py", line 73, in main
CheckRedfish().main()
File "/omd/sites/mon/local/lib/monitoring-plugins/mon/check_redfish/check_redfish.py", line 57, in main
if any(x in self.args.requested_query for x in ['temp', 'all']): get_chassis_data(Temperature)
File "/opt/omd/sites/mon/local/lib/monitoring-plugins/mon/check_redfish/cr_module/system_chassis.py", line 135, in get_chassis_data
get_single_chassis_temp(discovered_url, chassis_id, discovered_url_data)
File "/opt/omd/sites/mon/local/lib/monitoring-plugins/mon/check_redfish/cr_module/temp.py", line 143, in get_single_chassis_temp
if add_temp_status(temp_inventory, chassis_id, num_chassis, system_power_state) is True:
File "/opt/omd/sites/mon/local/lib/monitoring-plugins/mon/check_redfish/cr_module/temp.py", line 27, in add_temp_status
if state.lower() in ["absent", "disabled", "disable", "unavailableoffline", "standbyoffline"]:
AttributeError: 'NoneType' object has no attribute 'lower']
Hi,
it's me again! In order to get the last fix you implemented, I've updated check_redfish today for all of our hosts.
It was a quite big jump from 1.12.1 to 2.1.2 (next-release), but almost everything still works.
I noticed a problem with the temp module.
It happens on both Dell (e.g. Dell Inc. PowerEdge C6520/ C6620 ) and HPE (e.g. HPE ProLiant DL360 Gen10/ DL560 Gen10). At first I thought it was related to the HPE server being shut down (Power: Off), but the Dell is running and it still happens there.
It's also strange that this only affects like 20 out of 1000+ hosts of the same model.
I'll try and get a mockup of a failing one.