Hi andreas-doehler,
I tested your current iDRAC redfish plugin (version 1.5).
Output of Network Interface FC Slot 2-1 an 2-2 results in a crashed check
Exception: TypeError (must be real number, not NoneType)
Traceback: File "/omd/sites/intel/lib/python3/cmk/base/checking.py", line 581, in get_aggregated_result
result = _aggregate_results(check_function(**kwargs))
File "/omd/sites/intel/lib/python3/cmk/base/checking.py", line 812, in _aggregate_results
perfdata, results = _consume_and_dispatch_result_types(subresults)
File "/omd/sites/intel/lib/python3/cmk/base/checking.py", line 856, in _consume_and_dispatch_result_types
for subr in subresults:
File "/omd/sites/intel/lib/python3/cmk/base/api/agent_based/register/check_plugins.py", line 89, in filtered_generator
for element in generator(*args, **kwargs):
File "/omd/sites/intel/local/lib/python3/cmk/base/plugins/agent_based/dell_idrac_rf_interface.py", line 45, in check_dell_idrac_rf_interface
int_msg = "Link: %s, Speed: %0.0fMbps, MAC: %s" % (
Data:
{'data': {'@odata.context': '/redfish/v1/$metadata#NetworkPort.NetworkPort',
'@odata.id': '/redfish/v1/Chassis/System.Embedded.1/NetworkAdapters/FC.Slot.2/NetworkPorts/FC.Slot.2-1',
'@odata.type': '#NetworkPort.v1_2_3.NetworkPort',
'ActiveLinkTechnology': 'FibreChannel',
'AssociatedNetworkAddresses': ['20:00:34:80:0D:76:8C:A2'],
'CurrentLinkSpeedMbps': None,
'Description': 'Network Port View',
'EEEEnabled': None,
'FlowControlConfiguration': 'None',
'FlowControlStatus': 'None',
'Id': 'FC.Slot.2-1',
'LinkStatus': None,
'Name': 'Network Port View',
'NetDevFuncMaxBWAlloc': [{'MaxBWAllocPercent': None,
'NetworkDeviceFunction': {'@odata.id': 'Max '
'recursion '
'depth '
'reached'}}],
'NetDevFuncMaxBWAlloc@odata.count': 1,
'NetDevFuncMinBWAlloc': [{'MinBWAllocPercent': None,
'NetworkDeviceFunction': {'@odata.id': 'Max '
'recursion '
'depth '
'reached'}}],
'NetDevFuncMinBWAlloc@odata.count': 1,
'Oem': {},
'PhysicalPortNumber': '1',
'Status': {'Health': None, 'HealthRollup': None, 'State': 'Enabled'},
'SupportedEthernetCapabilities': [],
'SupportedEthernetCapabilities@odata.count': 0,
'SupportedLinkCapabilities': [{'LinkNetworkTechnology': 'FibreChannel',
'LinkSpeedMbps': 0}],
'SupportedLinkCapabilities@odata.count': 1,
'VendorId': '1077'},
'item': 'FC.Slot.2-1',
'section': {'FC.Slot.1-1': {'@odata.context': '/redfish/v1/$metadata#NetworkPort.NetworkPort',
'@odata.id': '/redfish/v1/Chassis/System.Embedded.1/NetworkAdapters/FC.Slot.1/NetworkPorts/FC.Slot.1-1',
'@odata.type': '#NetworkPort.v1_2_3.NetworkPort',
'ActiveLinkTechnology': 'FibreChannel',
'AssociatedNetworkAddresses': ['20:00:34:80:0D:76:8B:E8'],
'CurrentLinkSpeedMbps': 16000,
'Description': 'Network Port View',
'EEEEnabled': None,
'FlowControlConfiguration': 'None',
'FlowControlStatus': 'None',
'Id': 'FC.Slot.1-1',
'LinkStatus': 'Up',
'Name': 'Network Port View',
'NetDevFuncMaxBWAlloc': [{'MaxBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMaxBWAlloc@odata.count': 1,
'NetDevFuncMinBWAlloc': [{'MinBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMinBWAlloc@odata.count': 1,
'Oem': {'Dell': {'@odata.type': 'Max recursion '
'depth reached',
'DellNetworkTransceiver': 'Max '
'recursion '
'depth '
'reached'}},
'PhysicalPortNumber': '1',
'Status': {'Health': 'OK',
'HealthRollup': 'OK',
'State': 'Enabled'},
'SupportedEthernetCapabilities': [],
'SupportedEthernetCapabilities@odata.count': 0,
'SupportedLinkCapabilities': [{'LinkNetworkTechnology': 'Max '
'recursion '
'depth '
'reached',
'LinkSpeedMbps': 'Max '
'recursion '
'depth '
'reached'}],
'SupportedLinkCapabilities@odata.count': 1,
'VendorId': '1077'},
'FC.Slot.1-2': {'@odata.context': '/redfish/v1/$metadata#NetworkPort.NetworkPort',
'@odata.id': '/redfish/v1/Chassis/System.Embedded.1/NetworkAdapters/FC.Slot.1/NetworkPorts/FC.Slot.1-2',
'@odata.type': '#NetworkPort.v1_2_3.NetworkPort',
'ActiveLinkTechnology': 'FibreChannel',
'AssociatedNetworkAddresses': ['20:00:34:80:0D:76:8B:E9'],
'CurrentLinkSpeedMbps': 16000,
'Description': 'Network Port View',
'EEEEnabled': None,
'FlowControlConfiguration': 'None',
'FlowControlStatus': 'None',
'Id': 'FC.Slot.1-2',
'LinkStatus': 'Up',
'Name': 'Network Port View',
'NetDevFuncMaxBWAlloc': [{'MaxBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMaxBWAlloc@odata.count': 1,
'NetDevFuncMinBWAlloc': [{'MinBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMinBWAlloc@odata.count': 1,
'Oem': {'Dell': {'@odata.type': 'Max recursion '
'depth reached',
'DellNetworkTransceiver': 'Max '
'recursion '
'depth '
'reached'}},
'PhysicalPortNumber': '2',
'Status': {'Health': 'OK',
'HealthRollup': 'OK',
'State': 'Enabled'},
'SupportedEthernetCapabilities': [],
'SupportedEthernetCapabilities@odata.count': 0,
'SupportedLinkCapabilities': [{'LinkNetworkTechnology': 'Max '
'recursion '
'depth '
'reached',
'LinkSpeedMbps': 'Max '
'recursion '
'depth '
'reached'}],
'SupportedLinkCapabilities@odata.count': 1,
'VendorId': '1077'},
'FC.Slot.2-1': {'@odata.context': '/redfish/v1/$metadata#NetworkPort.NetworkPort',
'@odata.id': '/redfish/v1/Chassis/System.Embedded.1/NetworkAdapters/FC.Slot.2/NetworkPorts/FC.Slot.2-1',
'@odata.type': '#NetworkPort.v1_2_3.NetworkPort',
'ActiveLinkTechnology': 'FibreChannel',
'AssociatedNetworkAddresses': ['20:00:34:80:0D:76:8C:A2'],
'CurrentLinkSpeedMbps': None,
'Description': 'Network Port View',
'EEEEnabled': None,
'FlowControlConfiguration': 'None',
'FlowControlStatus': 'None',
'Id': 'FC.Slot.2-1',
'LinkStatus': None,
'Name': 'Network Port View',
'NetDevFuncMaxBWAlloc': [{'MaxBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMaxBWAlloc@odata.count': 1,
'NetDevFuncMinBWAlloc': [{'MinBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMinBWAlloc@odata.count': 1,
'Oem': {},
'PhysicalPortNumber': '1',
'Status': {'Health': None,
'HealthRollup': None,
'State': 'Enabled'},
'SupportedEthernetCapabilities': [],
'SupportedEthernetCapabilities@odata.count': 0,
'SupportedLinkCapabilities': [{'LinkNetworkTechnology': 'Max '
'recursion '
'depth '
'reached',
'LinkSpeedMbps': 'Max '
'recursion '
'depth '
'reached'}],
'SupportedLinkCapabilities@odata.count': 1,
'VendorId': '1077'},
'FC.Slot.2-2': {'@odata.context': '/redfish/v1/$metadata#NetworkPort.NetworkPort',
'@odata.id': '/redfish/v1/Chassis/System.Embedded.1/NetworkAdapters/FC.Slot.2/NetworkPorts/FC.Slot.2-2',
'@odata.type': '#NetworkPort.v1_2_3.NetworkPort',
'ActiveLinkTechnology': 'FibreChannel',
'AssociatedNetworkAddresses': ['20:00:34:80:0D:76:8C:A3'],
'CurrentLinkSpeedMbps': None,
'Description': 'Network Port View',
'EEEEnabled': None,
'FlowControlConfiguration': 'None',
'FlowControlStatus': 'None',
'Id': 'FC.Slot.2-2',
'LinkStatus': None,
'Name': 'Network Port View',
'NetDevFuncMaxBWAlloc': [{'MaxBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMaxBWAlloc@odata.count': 1,
'NetDevFuncMinBWAlloc': [{'MinBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMinBWAlloc@odata.count': 1,
'Oem': {},
'PhysicalPortNumber': '2',
'Status': {'Health': None,
'HealthRollup': None,
'State': 'Enabled'},
'SupportedEthernetCapabilities': [],
'SupportedEthernetCapabilities@odata.count': 0,
'SupportedLinkCapabilities': [{'LinkNetworkTechnology': 'Max '
'recursion '
'depth '
'reached',
'LinkSpeedMbps': 'Max '
'recursion '
'depth '
'reached'}],
'SupportedLinkCapabilities@odata.count': 1,
'VendorId': '1077'},
'NIC.Integrated.1-1': {'@odata.context': '/redfish/v1/$metadata#NetworkPort.NetworkPort',
'@odata.id': '/redfish/v1/Chassis/System.Embedded.1/NetworkAdapters/NIC.Integrated.1/NetworkPorts/NIC.Integrated.1-1',
'@odata.type': '#NetworkPort.v1_2_3.NetworkPort',
'ActiveLinkTechnology': 'Ethernet',
'AssociatedNetworkAddresses': ['E4:3D:1A:17:ED:9C'],
'CurrentLinkSpeedMbps': 10000,
'Description': 'Network Port View',
'EEEEnabled': None,
'FlowControlConfiguration': 'None',
'FlowControlStatus': 'None',
'Id': 'NIC.Integrated.1-1',
'LinkStatus': 'Up',
'Name': 'Network Port View',
'NetDevFuncMaxBWAlloc': [{'MaxBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMaxBWAlloc@odata.count': 1,
'NetDevFuncMinBWAlloc': [{'MinBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMinBWAlloc@odata.count': 1,
'Oem': {'Dell': {'@odata.type': 'Max '
'recursion '
'depth '
'reached',
'DellNetworkTransceiver': 'Max '
'recursion '
'depth '
'reached'}},
'PhysicalPortNumber': '1',
'Status': {'Health': 'OK',
'HealthRollup': 'OK',
'State': 'Enabled'},
'SupportedEthernetCapabilities': ['WakeOnLAN'],
'SupportedEthernetCapabilities@odata.count': 1,
'SupportedLinkCapabilities': [{'AutoSpeedNegotiation': 'Max '
'recursion '
'depth '
'reached',
'LinkNetworkTechnology': 'Max '
'recursion '
'depth '
'reached',
'LinkSpeedMbps': 'Max '
'recursion '
'depth '
'reached'}],
'SupportedLinkCapabilities@odata.count': 1,
'VendorId': '14e4',
'WakeOnLANEnabled': False},
'NIC.Integrated.1-2': {'@odata.context': '/redfish/v1/$metadata#NetworkPort.NetworkPort',
'@odata.id': '/redfish/v1/Chassis/System.Embedded.1/NetworkAdapters/NIC.Integrated.1/NetworkPorts/NIC.Integrated.1-2',
'@odata.type': '#NetworkPort.v1_2_3.NetworkPort',
'ActiveLinkTechnology': 'Ethernet',
'AssociatedNetworkAddresses': ['E4:3D:1A:17:ED:9D'],
'CurrentLinkSpeedMbps': 10000,
'Description': 'Network Port View',
'EEEEnabled': None,
'FlowControlConfiguration': 'TX_RX',
'FlowControlStatus': 'TX_RX',
'Id': 'NIC.Integrated.1-2',
'LinkStatus': 'Up',
'Name': 'Network Port View',
'NetDevFuncMaxBWAlloc': [{'MaxBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMaxBWAlloc@odata.count': 1,
'NetDevFuncMinBWAlloc': [{'MinBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMinBWAlloc@odata.count': 1,
'Oem': {'Dell': {'@odata.type': 'Max '
'recursion '
'depth '
'reached',
'DellNetworkTransceiver': 'Max '
'recursion '
'depth '
'reached'}},
'PhysicalPortNumber': '2',
'Status': {'Health': 'OK',
'HealthRollup': 'OK',
'State': 'Enabled'},
'SupportedEthernetCapabilities': ['WakeOnLAN'],
'SupportedEthernetCapabilities@odata.count': 1,
'SupportedLinkCapabilities': [{'AutoSpeedNegotiation': 'Max '
'recursion '
'depth '
'reached',
'LinkNetworkTechnology': 'Max '
'recursion '
'depth '
'reached',
'LinkSpeedMbps': 'Max '
'recursion '
'depth '
'reached'}],
'SupportedLinkCapabilities@odata.count': 1,
'VendorId': '14e4',
'WakeOnLANEnabled': False},
'NIC.Integrated.1-3': {'@odata.context': '/redfish/v1/$metadata#NetworkPort.NetworkPort',
'@odata.id': '/redfish/v1/Chassis/System.Embedded.1/NetworkAdapters/NIC.Integrated.1/NetworkPorts/NIC.Integrated.1-3',
'@odata.type': '#NetworkPort.v1_2_3.NetworkPort',
'ActiveLinkTechnology': 'Ethernet',
'AssociatedNetworkAddresses': ['E4:3D:1A:17:ED:9A'],
'CurrentLinkSpeedMbps': 0,
'Description': 'Network Port View',
'EEEEnabled': True,
'FlowControlConfiguration': 'None',
'FlowControlStatus': 'None',
'Id': 'NIC.Integrated.1-3',
'LinkStatus': 'Down',
'Name': 'Network Port View',
'NetDevFuncMaxBWAlloc': [{'MaxBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMaxBWAlloc@odata.count': 1,
'NetDevFuncMinBWAlloc': [{'MinBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMinBWAlloc@odata.count': 1,
'Oem': {},
'PhysicalPortNumber': '3',
'Status': {'Health': 'OK',
'HealthRollup': 'OK',
'State': 'Enabled'},
'SupportedEthernetCapabilities': ['WakeOnLAN',
'EEE'],
'SupportedEthernetCapabilities@odata.count': 2,
'SupportedLinkCapabilities': [{'AutoSpeedNegotiation': 'Max '
'recursion '
'depth '
'reached',
'LinkNetworkTechnology': 'Max '
'recursion '
'depth '
'reached',
'LinkSpeedMbps': 'Max '
'recursion '
'depth '
'reached'}],
'SupportedLinkCapabilities@odata.count': 1,
'VendorId': '14e4',
'WakeOnLANEnabled': False},
'NIC.Integrated.1-4': {'@odata.context': '/redfish/v1/$metadata#NetworkPort.NetworkPort',
'@odata.id': '/redfish/v1/Chassis/System.Embedded.1/NetworkAdapters/NIC.Integrated.1/NetworkPorts/NIC.Integrated.1-4',
'@odata.type': '#NetworkPort.v1_2_3.NetworkPort',
'ActiveLinkTechnology': 'Ethernet',
'AssociatedNetworkAddresses': ['E4:3D:1A:17:ED:9B'],
'CurrentLinkSpeedMbps': 0,
'Description': 'Network Port View',
'EEEEnabled': True,
'FlowControlConfiguration': 'None',
'FlowControlStatus': 'None',
'Id': 'NIC.Integrated.1-4',
'LinkStatus': 'Down',
'Name': 'Network Port View',
'NetDevFuncMaxBWAlloc': [{'MaxBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMaxBWAlloc@odata.count': 1,
'NetDevFuncMinBWAlloc': [{'MinBWAllocPercent': 'Max '
'recursion '
'depth '
'reached',
'NetworkDeviceFunction': 'Max '
'recursion '
'depth '
'reached'}],
'NetDevFuncMinBWAlloc@odata.count': 1,
'Oem': {},
'PhysicalPortNumber': '4',
'Status': {'Health': 'OK',
'HealthRollup': 'OK',
'State': 'Enabled'},
'SupportedEthernetCapabilities': ['WakeOnLAN',
'EEE'],
'SupportedEthernetCapabilities@odata.count': 2,
'SupportedLinkCapabilities': [{'AutoSpeedNegotiation': 'Max '
'recursion '
'depth '
'reached',
'LinkNetworkTechnology': 'Max '
'recursion '
'depth '
'reached',
'LinkSpeedMbps': 'Max '
'recursion '
'depth '
'reached'}],
'SupportedLinkCapabilities@odata.count': 1,
'VendorId': '14e4',
'WakeOnLANEnabled': False}}}
Could you please take a look at this?
iDRAC-Firmware is Version 9.