Dell iDRAC Restful Redfish API Agent

Now i have also made the first version of a Redfish agent for Dell servers.
In the end it should be the same as the iLO agent and XClarity agent.
At the moment it is v0.9 as it is not complete but it should work. Tested only with iDRAC 9 until now.

You can find the actual mkp file on my github.

If an error happens at the special agent it would be good to get the agent output directly or if error happens at the check, the output from “cmk --debug -vvn hostname” would be the best for troubleshooting.

4 Likes

Hallo,
pip3 install redfish
aus deinem Hinweis ist auf meiner Appliance nicht möglich.
Hast du dazu einen Tip was ich übersehe oder sollte ich mal eine Frage an feedback nach München senden?
Gruß

Das geht “eigentlich” auch auf der Appliance ist nur wie immer “nicht supported” :slight_smile:
Innerhalb der Site ist das aber kein Thema auf der Appliance wenn du ins Internet kommst von dort aus.

Normal sollten die Redfish Libs als Industriestandard für das Servermanagement auch in einem System wie CMK mit dabei sein. Das wäre dann die Anregung für München.

1 Like

Hallo,
da sogar pip noch nicht auf dem System ist wäre das schon ein gewisser Eingriff.
Mir war wichtig das ich da nichts übersehen habe.
Ich mach ein feedback Richtung München fertig.
Gruß und Dank für deine Arbeit.
Ralf

Actual version with some more checks now also available on the CMK exchange the next days.

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.

Can you please check the 1.6 i uploaded in Github

This should not have a problem with “None” as linkSpeed in the interfaces.

I had no FC interfaces in my test devices only Ethernet and the Ethernet interfaces are shown with linkspeed 0 if disconnected. The FC interface has “None” :frowning:

Crash is gone but so is the information on FC-Interfaces where the port is up and speed is 16000 :frowning:

These interfaces are not the same as from the crash report.
If “Link” is None then also the “Speed” must be 0 Mbps.
The output looks completely ok.

If i should check something, then i need the original agent output. Minimum is the interface section from one or two servers.

For the “LinkStatus” i have changed nothing. If the interface is really connected it should say → “Up”.

1 Like

You are 100% right, I confused the servers.
Interfaces are reporting the correct state now! Thanks!

1 Like

Hallo zusammen,

@rprengel hat dazu ja ein Feature Request im neuen Feature Portal erstellt, d.h. jeder, der hier drüber stolpert, kann dort gerne einmal mit abstimmen.

2 Likes

Hi Andreas,
wir haben neue Dell-Hardware in Betrieb genommen und mit Version 1.7 crashen bei mir ein paar checks:

Check Type: dell_idrac_rf_cpu
Execption: TypeError (cannot unpack non-iterable NoneType object)
Traceback:
File "/omd/sites/intel/lib/python3/cmk/base/agent_based/checking/__init__.py", line 470, in get_aggregated_result
    result = _aggregate_results(
  File "/omd/sites/intel/lib/python3/cmk/base/agent_based/checking/__init__.py", line 578, in _aggregate_results
    perfdata, results = _consume_and_dispatch_result_types(subresults)
  File "/omd/sites/intel/lib/python3/cmk/base/agent_based/checking/__init__.py", line 622, 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 94, in filtered_generator
    for element in generator(*args, **kwargs):
  File "/omd/sites/intel/local/lib/python3/cmk/base/plugins/agent_based/dell_idrac_rf_cpu.py", line 55, in check_dell_idrac_rf_cpu
    dev_state, dev_msg = idrac_health_state(data["Status"])
  File "/omd/sites/intel/local/lib/python3/cmk/base/plugins/agent_based/utils/dell_idrac.py", line 113, in idrac_health_state
    temp_state, state_msg = state_map.get(state[key])
Check Type: dell_idrac_rf_temperatures
Exception: TypeError (must be real number, not NoneType)
Traceback:
File "/omd/sites/intel/lib/python3/cmk/base/agent_based/checking/__init__.py", line 470, in get_aggregated_result
    result = _aggregate_results(
  File "/omd/sites/intel/lib/python3/cmk/base/agent_based/checking/__init__.py", line 578, in _aggregate_results
    perfdata, results = _consume_and_dispatch_result_types(subresults)
  File "/omd/sites/intel/lib/python3/cmk/base/agent_based/checking/__init__.py", line 622, 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 94, in filtered_generator
    for element in generator(*args, **kwargs):
  File "/omd/sites/intel/local/lib/python3/cmk/base/plugins/agent_based/dell_idrac_rf_temperatures.py", line 48, in check_dell_idrac_rf_temperatures
    yield from check_temperature(
  File "/omd/sites/intel/lib/python3/cmk/base/plugins/agent_based/utils/temperature.py", line 322, in check_temperature
    usr_result, usr_metric = check_levels(
  File "/omd/sites/intel/lib/python3/cmk/base/api/agent_based/utils.py", line 333, in check_levels
    info_text = str(render_func(value))  # forgive wrong output type
  File "/omd/sites/intel/lib/python3/cmk/base/plugins/agent_based/utils/temperature.py", line 328, in <lambda>
    render_func=lambda temp: _render_temp_with_unit(temp, output_unit),
  File "/omd/sites/intel/lib/python3/cmk/base/plugins/agent_based/utils/temperature.py", line 106, in _render_temp_with_unit
    return render_temp(temp, unit) + temp_unitsym[unit]
  File "/omd/sites/intel/lib/python3/cmk/base/plugins/agent_based/utils/temperature.py", line 102, in render_temp
    return template % value

Könntest du da bitte einen Blick drauf werfen? Danke!

Ich bräuchte dazu wie bei allen Crashs den Agent Output von deinem Server.
Kannst mir ja als PM sender oder per Mail.

PM hab ich dir geschickt.

Ist angekommen, muss nur paar Minuten Zeit finden mir mal den Output ordentlich anzuschauen. Eine Sache hab ich gesehen - ist der Server abgeschalten zur Zeit und nur das iDRAC angeschlossen? Die CPUs beide haben den Status “offline nicht verfügbar”.

Genau, der Server ist derzeit ausgeschaltet.

Dann ist das ein “Edge Case” welchen ich noch nicht hatte :smiley:

Neue Version verfügbar. Diese sollte keinen Crash mehr bei abgeschaltetem Server erzeugen. Gibt noch den “System” Check welcher den Powerstate anzeigt + SN und Model.

Auf der Exchange dauerts bestimmt noch paar Tage :wink:

Ergänzung: sollte auch mit Bladecenter MX7000 funktionieren.

2 Likes

Danke, der Crash ist weg und es wird eine Warning angezeigt. Wäre es möglich, die Checks auch als OK zu melden, wenn der PowerState: Off ist?
Die Maschine wurde jetzt angefahren und Checks, die vorher OK waren, sind jetzt in Warning. Einen Output schicke ich dir wieder per PN.

Sieht schlecht aus die Komponente selbst weiß nix davon, dass der Server aus ist.

Ich kann aus den Daten nur soviel erkennen, dass B1 und B2 haben irgend ein Problem. Die Module A/B 9 bis 16 haben ein Problem in der Form, dass das System der Meinung ist die Memory Konfiguration passt nicht.
Diese Fehler sollten auch im iDRAC Webinterface sichtbar sein.
Auffällig ist, es betrifft nur die 32GB Module welche ein Config Problem scheinbar haben. Die beiden “defekten” Module sind aber 64GB.
Hab leider im gesamten Output keinen Gesamt Memory Size Status.
Aber von dem Memory Problem kommt auch der Gesamt Status welcher Warning ist.

Im Endeffekt wird meiner Ansicht nach der Agent Output komplett richtig angezeigt.