On a SLES 15 SP5 (for SAP Application) deployed on a x86_64 physical or virtualized system the SUSE Trento Agent relies on the dmidecode to read low level system information and gather system information, vice-versa, as far as I know, on a IBM Power server the DMI table concept doesn’t exist so the dmidecode not only will not be useful at all but also is not available (on the other hand a device tree structure exists - see /proc/device-tree/ as example - and also the lshw command can be used to collect low level system information).
How SUSE Trento Agent deals with the above difference when it is deployed on a SLES 15 SP5 (for SAP Applications) running over a IBM Power’s LPAR instead of running over a more common physical/virtualized x86_64 operating system for which dmidecode is available?
We see (one of) our SUSE Trento Agent, registered on our SUSE Trento Server, logging errors related to the fact that the dmidecode package is not available (that particular SLES 15 SP5 for SAP Application running a SAP HANA database is installed over an IBM Power 9’s LPAR), example (errors grep from journalctl of trento-agent unit):
...
Oct 21 13:03:30 <hostname-redacted> trento-agent[1518607]: time="2024-10-21 13:03:30" level=error msg="Unable to convert CPU socket count: strconv.Atoi: parsing \"\": invalid syntax"
Oct 21 13:03:36 <hostname-redacted> trento-agent[1518607]: time="2024-10-21 13:03:36" level=warning msg="Error running python_support command: exit status 10"
Oct 21 13:03:36 <hostname-redacted> trento-agent[1518607]: time="2024-10-21 13:03:36" level=warning msg="Error running python_support command: exit status 4"
Oct 21 13:03:40 <hostname-redacted> trento-agent[1518607]: time="2024-10-21 13:03:40" level=error msg="Error while running discovery 'cloud_discovery': exec: \"dmidecode\": executable file not found in $PATH"
Oct 21 13:03:40 <hostname-redacted> trento-agent[1518607]: time="2024-10-21 13:03:40" level=info msg="cloud_discovery discovery tick output: Error while running discovery 'cloud_discovery': exec: \"dmidecode\": executable file not found in $PATH"
...
Any idea how to overcome the above limitation?
Cheers!