Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 fix ipmi cli #2010

Merged
merged 1 commit into from
Oct 1, 2023
Merged

🐛 fix ipmi cli #2010

merged 1 commit into from
Oct 1, 2023

Conversation

chris-rock
Copy link
Member

cnquery shell ipmi [email protected] --password 'ADMIN'
→ connected to IPMI
  ___ _ __   __ _ _   _  ___ _ __ _   _ 
 / __| '_ \ / _` | | | |/ _ \ '__| | | |
| (__| | | | (_| | |_| |  __/ |  | |_| |
 \___|_| |_|\__, |\__,_|\___|_|   \__, |
  mondoo™      |_|                |___/  interactive shell

cnquery> ipmi.guid
ipmi.guid: "A123456789AB"
cnquery> ipmi.deviceID
ipmi.deviceID: {
  additionalDeviceSupport: {
    bridge: false
    chassisDevice: true
    fruInventoryDevice: true
    ipmbEventGenerator: false
    ipmbEventReciever: true
    sdrRepositoryDevice: true
    selDevice: true
    sensorDevice: true
  }
  deviceAvailable: true
  deviceID: 0.000000
  deviceRevision: 3.000000
  firmwareRevision: "9.08"
  ipmiVersion: 2.000000
  manufacturerID: 4753.000000
  manufacturerName: "Unknown"
  productID: 3842.000000
  productName: "Unknown"
  providesDeviceSDRs: false
}
cnquery> ipmi.chassis.status
ipmi.chassis.status: {
  chassisIntrusion: false
  coolingFanFault: false
  driveFault: false
  frontPanelLockout: false
  lastPowerEvent: {
    ac-failed: false
    command: false
    fault: false
    interlock: false
    overload: false
  }
  mainPowerFault: false
  powerControlFault: false
  powerInterlock: false
  powerOverload: false
  powerRestorePolicy: "always-off"
  systemPower: true
}
cnquery> 

Copy link
Member

@arlimus arlimus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also love the testing comment you added!

@arlimus arlimus merged commit df38b84 into main Oct 1, 2023
10 checks passed
@arlimus arlimus deleted the chris-rock/ipmi branch October 1, 2023 17:31
@github-actions github-actions bot locked and limited conversation to collaborators Oct 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants