sentrysoftware / metricshub

Universal Metrics Collection for OpenTelemetry
https://metricshub.com
GNU Affero General Public License v3.0
15 stars 4 forks source link

IPMITool criteria and source failure due to bad IPMITool command #480

Closed NassimBtk closed 3 days ago

NassimBtk commented 2 weeks ago

Problem

There is a missing whitespace between sudo and the command being executed, which is causing the command to fail. The issue appears when running the IPMI tool command, resulting in the following error:

Text parameters:
        StatusInformation:
        Received Result: bash: sudoipmitool: command not found
        . Did not get the expected result from the IPMI tool command: PATH=$PATH:/usr/local/bin:/usr/sfw/bin;export PATH;sudoipmitool -I open
        Conclusion: Test on ecs1-01 FAILED

The command should be formatted as the following: PATH=$PATH:/usr/local/bin:/usr/sfw/bin;export PATH;sudo ipmitool -I open bmc info

An additional space is also required in the source commands: ipmitool -I openfru --> ipmitool -I open fru ipmitool -I open-v sdr elist all --> ipmitool -I open -v sdr elist all