Hi Andreas,
in der Testumgebung funktioniert es sofort. 
Jetzt Frage ich mich ob ich die alte site auf die neue migrieren kann ohne alles neu konfigurieren zu müssen?
Ich habe noch ein Dell OME und hatte erst versucht das mit redfish abzufragen. Was aber mit den credentials vom webinterface zum OME nicht funktioniert hat? Wäre es damit nicht möglich an alle Sensoren der Server auf einmal zu gelangen? Hatte das eben auch nochmal in der Testumgebung getestet aber es funktioniert leider noch nicht?
Beim ausführen von “/omd/sites/Testumgebung/local/lib/python3/cmk_addons/plugins/redfish/libexec/agent_redfish -u admin -s xxx hostname > debug.log”
rödelt er teilweise über 15 Minuten und findet m.M.n auch diverse Sensoren und bricht dann irgendwann ab.
Hier die Ausgabe: OME.txt (76,0 KB)
Das debug.log wird komischerweise mit anderen Daten gefüllt als der Befehl auf dem Monitor ausgibt. Dort sind dann z.B. die Gerätenamen, IP’s usw. aufgeführt.
Hier ein kleiner Auszug:
<<<redfish_system:sep(0)>>>
[{“@odata.context”: “/redfish/v1/$metadata#ComputerSystem.v1_6_0.ComputerSystem”, “@odata.id”: “/redfish/v1/Systems/Members(‘40738’)”, “@odata.type”: “#ComputerSystem.v1_6_0.ComputerSystem”, “Actions”: {“#ComputerSystem.AddResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘40738’)/Actions/ComputerSystem.AddResourceBlock”}, “#ComputerSystem.RemoveResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘40738’)/Actions/ComputerSystem.RemoveResourceBlock”}, “#ComputerSystem.Reset”: {“ResetType@Redfish.AllowableValues”: [“On”, “ForceOff”, “GracefulShutdown”, “PowerCycle”], “target”: “/redfish/v1/Systems/Members(‘40738’)/Actions/ComputerSystem.Reset”}, “Oem”: {}}, “AssetTag”: “”, “BiosVersion”: “1.7.4”, “Boot”: {}, “Description”: “Server Device”, “EthernetInterfaces”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40738’)/EthernetInterfaces”}, “HostName”: “”, “HostedServices”: {“Oem”: {}}, “HostingRoles”: [“StorageServer”, “ApplicationServer”], “Id”: “40738”, “IndicatorLED”: “Unknown”, “Links”: {“ResourceBlocks”: }, “Manufacturer”: “Dell Inc.”, “MemorySummary”: {“Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “TotalSystemMemoryGiB”: 512}, “Model”: “PowerEdge R750”, “Name”: “xxx.50”, “Oem”: null, “PartNumber”: “0PJ80M”, “PowerRestorePolicy”: null, “PowerState”: “On”, “ProcessorSummary”: {“Count”: 6, “Model”: “NVIDIA A16”, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}}, “Processors”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40738’)/Processors”}, “SKU”: “6TWN7T3”, “SerialNumber”: “CNFCP0028Q0091”, “SimpleStorage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40738’)/SimpleStorage”}, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “Storage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40738’)/Storage”}, “SystemType”: “Physical”, “UUID”: “3354374f-c0b6-4e80-5710-00544c4c4544”}, {“@odata.context”: “/redfish/v1/$metadata#ComputerSystem.v1_6_0.ComputerSystem”, “@odata.id”: “/redfish/v1/Systems/Members(‘45236’)”, “@odata.type”: “#ComputerSystem.v1_6_0.ComputerSystem”, “Actions”: {“#ComputerSystem.AddResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘45236’)/Actions/ComputerSystem.AddResourceBlock”}, “#ComputerSystem.RemoveResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘45236’)/Actions/ComputerSystem.RemoveResourceBlock”}, “#ComputerSystem.Reset”: {“ResetType@Redfish.AllowableValues”: [“On”, “ForceOff”, “GracefulShutdown”, “PowerCycle”], “target”: “/redfish/v1/Systems/Members(‘45236’)/Actions/ComputerSystem.Reset”}, “Oem”: {}}, “AssetTag”: “”, “BiosVersion”: “2.3.5”, “Boot”: {}, “Description”: “Server Device”, “EthernetInterfaces”: {“@odata.id”: “/redfish/v1/Systems/Members(‘45236’)/EthernetInterfaces”}, “HostName”: “xxx5”, “HostedServices”: {“Oem”: {}}, “HostingRoles”: [“StorageServer”, “ApplicationServer”], “Id”: “45236”, “IndicatorLED”: “Unknown”, “Links”: {“ResourceBlocks”: }, “Manufacturer”: “Dell Inc.”, “MemorySummary”: {“Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “TotalSystemMemoryGiB”: 64}, “Model”: “PowerEdge R760xd2”, “Name”: “xxx5”, “Oem”: null, “PartNumber”: “0J3N69”, “PowerRestorePolicy”: null, “PowerState”: “On”, “ProcessorSummary”: {“Count”: 1, “Model”: “Intel(R) Xeon(R) Gold 5415+”, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}}, “Processors”: {“@odata.id”: “/redfish/v1/Systems/Members(‘45236’)/Processors”}, “SKU”: “2QP8V34”, “SerialNumber”: “VNCMV00458005G”, “SimpleStorage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘45236’)/SimpleStorage”}, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “Storage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘45236’)/Storage”}, “SystemType”: “Physical”, “UUID”: “3433564f-c0b2-3880-5010-00514c4c4544”}, {“@odata.context”: “/redfish/v1/$metadata#ComputerSystem.v1_6_0.ComputerSystem”, “@odata.id”: “/redfish/v1/Systems/Members(‘40869’)”, “@odata.type”: “#ComputerSystem.v1_6_0.ComputerSystem”, “Actions”: {“#ComputerSystem.AddResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘40869’)/Actions/ComputerSystem.AddResourceBlock”}, “#ComputerSystem.RemoveResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘40869’)/Actions/ComputerSystem.RemoveResourceBlock”}, “#ComputerSystem.Reset”: {“ResetType@Redfish.AllowableValues”: [“On”, “ForceOff”, “GracefulShutdown”, “PowerCycle”], “target”: “/redfish/v1/Systems/Members(‘40869’)/Actions/ComputerSystem.Reset”}, “Oem”: {}}, “AssetTag”: “”, “BiosVersion”: “1.13.2”, “Boot”: {}, “Description”: “Server Device”, “EthernetInterfaces”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40869’)/EthernetInterfaces”}, “HostName”: “”, “HostedServices”: {“Oem”: {}}, “HostingRoles”: [“StorageServer”, “ApplicationServer”], “Id”: “40869”, “IndicatorLED”: “Unknown”, “Links”: {“ResourceBlocks”: }, “Manufacturer”: “Dell Inc.”, “MemorySummary”: {“Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “TotalSystemMemoryGiB”: 384}, “Model”: “PowerEdge R750”, “Name”: “xxx.42”, “Oem”: null, “PartNumber”: “0216NK”, “PowerRestorePolicy”: null, “PowerState”: “On”, “ProcessorSummary”: {“Count”: 2, “Model”: “Intel(R) Xeon(R) Gold 5317 CPU @ 3.00GHz”, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}}, “Processors”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40869’)/Processors”}, “SKU”: “GS70QY3”, “SerialNumber”: “CNIVC0033O0430”, “SimpleStorage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40869’)/SimpleStorage”}, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “Storage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40869’)/Storage”}, “SystemType”: “Physical”, “UUID”: “3359514f-c0c7-3080-3710-00534c4c4544”}, {“@odata.context”: “/redfish/v1/$metadata#ComputerSystem.v1_6_0.ComputerSystem”, “@odata.id”: “/redfish/v1/Systems/Members(‘41106’)”, “@odata.type”: “#ComputerSystem.v1_6_0.ComputerSystem”, “Actions”: {“#ComputerSystem.AddResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘41106’)/Actions/ComputerSystem.AddResourceBlock”}, “#ComputerSystem.RemoveResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘41106’)/Actions/ComputerSystem.RemoveResourceBlock”}, “#ComputerSystem.Reset”: {“ResetType@Redfish.AllowableValues”: [“On”, “ForceOff”, “GracefulShutdown”, “PowerCycle”], “target”: “/redfish/v1/Systems/Members(‘41106’)/Actions/ComputerSystem.Reset”}, “Oem”: {}}, “AssetTag”: “”, “BiosVersion”: “1.13.2”, “Boot”: {}, “Description”: “Server Device”, “EthernetInterfaces”: {“@odata.id”: “/redfish/v1/Systems/Members(‘41106’)/EthernetInterfaces”}, “HostName”: “”, “HostedServices”: {“Oem”: {}}, “HostingRoles”: [“StorageServer”, “ApplicationServer”], “Id”: “41106”, “IndicatorLED”: “Unknown”, “Links”: {“ResourceBlocks”: }, “Manufacturer”: “Dell Inc.”, “MemorySummary”: {“Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “TotalSystemMemoryGiB”: 384}, “Model”: “PowerEdge R750”, “Name”: “xxx.37”, “Oem”: null, “PartNumber”: “0K8F35”, “PowerRestorePolicy”: null, “PowerState”: “On”, “ProcessorSummary”: {“Count”: 2, “Model”: “Intel(R) Xeon(R) Gold 5317 CPU @ 3.00GHz”, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}}, “Processors”: {“@odata.id”: “/redfish/v1/Systems/Members(‘41106’)/Processors”}, “SKU”: “GSWFQ04”, “SerialNumber”: “CNFCP0039I03PA”, “SimpleStorage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘41106’)/SimpleStorage”}, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “Storage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘41106’)/Storage”}, “SystemType”: “Physical”, “UUID”: “3430514f-c0c7-4680-5710-00534c4c4544”}, {“@odata.context”: “/redfish/v1/$metadata#ComputerSystem.v1_6_0.ComputerSystem”, “@odata.id”: “/redfish/v1/Systems/Members(‘40495’)”, “@odata.type”: “#ComputerSystem.v1_6_0.ComputerSystem”, “Actions”: {“#ComputerSystem.AddResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘40495’)/Actions/ComputerSystem.AddResourceBlock”}, “#ComputerSystem.RemoveResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘40495’)/Actions/ComputerSystem.RemoveResourceBlock”}, “#ComputerSystem.Reset”: {“ResetType@Redfish.AllowableValues”: [“On”, “ForceOff”, “GracefulShutdown”, “PowerCycle”], “target”: “/redfish/v1/Systems/Members(‘40495’)/Actions/ComputerSystem.Reset”}, “Oem”: {}}, “AssetTag”: “”, “BiosVersion”: “1.15.2”, “Boot”: {}, “Description”: “Server Device”, “EthernetInterfaces”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40495’)/EthernetInterfaces”}, “HostName”: “xxxr02.xxx”, “HostedServices”: {“Oem”: {}}, “HostingRoles”: [“StorageServer”, “ApplicationServer”], “Id”: “40495”, “IndicatorLED”: “Unknown”, “Links”: {“ResourceBlocks”: }, “Manufacturer”: “Dell Inc.”, “MemorySummary”: {“Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “TotalSystemMemoryGiB”: 768}, “Model”: “PowerEdge R750”, “Name”: “xxxr02.xxx”, “Oem”: null, “PartNumber”: “0PJ80M”, “PowerRestorePolicy”: null, “PowerState”: “On”, “ProcessorSummary”: {“Count”: 2, “Model”: “Intel(R) Xeon(R) Gold 6346 CPU @ 3.10GHz”, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}}, “Processors”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40495’)/Processors”}, “SKU”: “66CDPS3”, “SerialNumber”: “CNFCP0027I00IK”, “SimpleStorage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40495’)/SimpleStorage”}, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “Storage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40495’)/Storage”}, “SystemType”: “Physical”, “UUID”: “3353504f-c0b6-4480-4310-00364c4c4544”}, {“@odata.context”: “/redfish/v1/$metadata#ComputerSystem.v1_6_0.ComputerSystem”, “@odata.id”: “/redfish/v1/Systems/Members(‘41442’)”, “@odata.type”: “#ComputerSystem.v1_6_0.ComputerSystem”, “Actions”: {“#ComputerSystem.AddResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘41442’)/Actions/ComputerSystem.AddResourceBlock”}, “#ComputerSystem.RemoveResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘41442’)/Actions/ComputerSystem.RemoveResourceBlock”}, “#ComputerSystem.Reset”: {“ResetType@Redfish.AllowableValues”: [“On”, “ForceOff”, “GracefulShutdown”, “PowerCycle”], “target”: “/redfish/v1/Systems/Members(‘41442’)/Actions/ComputerSystem.Reset”}, “Oem”: {}}, “AssetTag”: “”, “BiosVersion”: “2.14.1”, “Boot”: {}, “Description”: “Server Device”, “EthernetInterfaces”: {“@odata.id”: “/redfish/v1/Systems/Members(‘41442’)/EthernetInterfaces”}, “HostName”: “”, “HostedServices”: {“Oem”: {}}, “HostingRoles”: [“StorageServer”, “ApplicationServer”], “Id”: “41442”, “IndicatorLED”: “Unknown”, “Links”: {“ResourceBlocks”: }, “Manufacturer”: “Dell Inc.”, “MemorySummary”: {“Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “TotalSystemMemoryGiB”: 768}, “Model”: “PowerEdge R6525”, “Name”: “xxx.20”, “Oem”: null, “PartNumber”: “0GK70M”, “PowerRestorePolicy”: null, “PowerState”: “On”, “ProcessorSummary”: {“Count”: 2, “Model”: “AMD EPYC 7302 16-Core Processor”, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}}, “Processors”: {“@odata.id”: “/redfish/v1/Systems/Members(‘41442’)/Processors”}, “SKU”: “8NVMH53”, “SerialNumber”: “CNIVC0005F0300”, “SimpleStorage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘41442’)/SimpleStorage”}, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “Storage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘41442’)/Storage”}, “SystemType”: “Physical”, “UUID”: “3335484f-c0b8-4d80-5610-004e4c4c4544”}, {“@odata.context”: “/redfish/v1/$metadata#ComputerSystem.v1_6_0.ComputerSystem”, “@odata.id”: “/redfish/v1/Systems/Members(‘40412’)”, “@odata.type”: “#ComputerSystem.v1_6_0.ComputerSystem”, “Actions”: {“#ComputerSystem.AddResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘40412’)/Actions/ComputerSystem.AddResourceBlock”}, “#ComputerSystem.RemoveResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘40412’)/Actions/ComputerSystem.RemoveResourceBlock”}, “#ComputerSystem.Reset”: {“ResetType@Redfish.AllowableValues”: [“On”, “ForceOff”, “GracefulShutdown”, “PowerCycle”], “target”: “/redfish/v1/Systems/Members(‘40412’)/Actions/ComputerSystem.Reset”}, “Oem”: {}}, “AssetTag”: “”, “BiosVersion”: “1.15.2”, “Boot”: {}, “Description”: “Server Device”, “EthernetInterfaces”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40412’)/EthernetInterfaces”}, “HostName”: “”, “HostedServices”: {“Oem”: {}}, “HostingRoles”: [“StorageServer”, “ApplicationServer”], “Id”: “40412”, “IndicatorLED”: “Unknown”, “Links”: {“ResourceBlocks”: }, “Manufacturer”: “Dell Inc.”, “MemorySummary”: {“Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “TotalSystemMemoryGiB”: 768}, “Model”: “PowerEdge R750”, “Name”: “xxx.26”, “Oem”: null, “PartNumber”: “06V45N”, “PowerRestorePolicy”: null, “PowerState”: “On”, “ProcessorSummary”: {“Count”: 2, “Model”: “Intel(R) Xeon(R) Gold 6346 CPU @ 3.10GHz”, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}}, “Processors”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40412’)/Processors”}, “SKU”: “G8MH9J3”, “SerialNumber”: “CNIVC0017T1066”, “SimpleStorage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40412’)/SimpleStorage”}, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “Storage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘40412’)/Storage”}, “SystemType”: “Physical”, “UUID”: “334a394f-c0c7-4880-4d10-00384c4c4544”}, {“@odata.context”: “/redfish/v1/$metadata#ComputerSystem.v1_6_0.ComputerSystem”, “@odata.id”: “/redfish/v1/Systems/Members(‘44212’)”, “@odata.type”: “#ComputerSystem.v1_6_0.ComputerSystem”, “Actions”: {“#ComputerSystem.AddResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘44212’)/Actions/ComputerSystem.AddResourceBlock”}, “#ComputerSystem.RemoveResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘44212’)/Actions/ComputerSystem.RemoveResourceBlock”}, “#ComputerSystem.Reset”: {“ResetType@Redfish.AllowableValues”: [“On”, “ForceOff”, “GracefulShutdown”, “PowerCycle”], “target”: “/redfish/v1/Systems/Members(‘44212’)/Actions/ComputerSystem.Reset”}, “Oem”: {}}, “AssetTag”: “7728”, “BiosVersion”: “2.19.1”, “Boot”: {}, “Description”: “Server Device”, “EthernetInterfaces”: {“@odata.id”: “/redfish/v1/Systems/Members(‘44212’)/EthernetInterfaces”}, “HostName”: “localhost.corp.emc.com”, “HostedServices”: {“Oem”: {}}, “HostingRoles”: [“StorageServer”, “ApplicationServer”], “Id”: “44212”, “IndicatorLED”: “Unknown”, “Links”: {“ResourceBlocks”: }, “Manufacturer”: “Dell Inc.”, “MemorySummary”: {“Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “TotalSystemMemoryGiB”: 64}, “Model”: “DD3300”, “Name”: “localhost.corp.emc.com”, “Oem”: null, “PartNumber”: “0WXD1Y”, “PowerRestorePolicy”: null, “PowerState”: “On”, “ProcessorSummary”: {“Count”: 1, “Model”: “Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz”, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}}, “Processors”: {“@odata.id”: “/redfish/v1/Systems/Members(‘44212’)/Processors”}, “SKU”: “3WSZ543”, “SerialNumber”: “CNIVC0004D0080”, “SimpleStorage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘44212’)/SimpleStorage”}, “Status”: {“Health”: “OK”, “HealthRollup”: “OK”, “State”: “Enabled”}, “Storage”: {“@odata.id”: “/redfish/v1/Systems/Members(‘44212’)/Storage”}, “SystemType”: “Physical”, “UUID”: “3334354f-c0b3-5a80-5310-00574c4c4544”}, {“@odata.context”: “/redfish/v1/$metadata#ComputerSystem.v1_6_0.ComputerSystem”, “@odata.id”: “/redfish/v1/Systems/Members(‘40908’)”, “@odata.type”: “#ComputerSystem.v1_6_0.ComputerSystem”, “Actions”: {“#ComputerSystem.AddResourceBlock”: {“target”: “/redfish/v1/Systems/Members(‘40908’)/Actions/ComputerSystem.AddResourceBlock”}, "#ComputerSystem.RemoveResourceBloc
Kannst Du mir da evtl. noch nenTip geben wie ich das umgesetzt bekomme?
Danke und Gruß
Stefan