Skip to content

Instantly share code, notes, and snippets.

@ddelazerda
Created February 20, 2020 00:09
Show Gist options
  • Save ddelazerda/9fd3189cc3b948e53bdc0cf5aa46bd58 to your computer and use it in GitHub Desktop.
Save ddelazerda/9fd3189cc3b948e53bdc0cf5aa46bd58 to your computer and use it in GitHub Desktop.
ipmitool vs gebn/bmc
$ ipmitool -I lanplus -H 192.168.1.20 -U user -P password chassis status
System Power : on
Power Overload : false
Power Interlock : inactive
Main Power Fault : false
Power Control Fault : false
Power Restore Policy : always-on
Last Power Event : command
Chassis Intrusion : inactive
Front-Panel Lockout : inactive
Drive Fault : false
Cooling/Fan Fault : false
$ go run main.go
2020/02/19 18:50:51 read udp 192.168.1.9:47352->192.168.1.20:623: i/o timeout
exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment