-
Notifications
You must be signed in to change notification settings - Fork 11
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
[BUG] & [Documentation] How to use in HAOS and older IPMI #33
Comments
Why do you think that users that use HAOS need special documentation? It's an integration that can be used with Home Assistant and it doesn't matter if you run HASS as OS or inside a container or any other way. |
@ateodorescu 2024/03/26 12:10:13 [error] 205#205: *11 FastCGI sent in stderr: "PHP message: Error occurred when running "ipmitool -H 192.168.1.29 -p 623 -U saen -P #### -I lanplus bmc info".
Error: Unable to establish IPMI v2 / RMCP+ session
PHP message: Error occurred when running "ipmitool -H 192.168.1.29 -p 623 -U saen -P #### -I lan bmc info".
Error: Unable to establish LAN session
Error: Unable to establish IPMI v1.5 / RMCP session
PHP message: Error occurred when running "ipmitool -H 192.168.1.29 -p 623 -U saen -P #### -I imb bmc info".
Error loading interface imb
PHP message: Error occurred when running "ipmitool -H 192.168.1.29 -p 623 -U saen -P #### -I open bmc info".
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory" while reading response header from upstream, client: 172.30.32.1, server: _, request: "GET /?host=192.168.1.29&port=623&user=saen&password=############# HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:9595"
standard linux remote connection $ ipmitool -H 192.168.1.29 -U saen sdr
Password:
BB +1.1V IOH | 1.09 Volts | ok
BB +1.1V P1 Vccp | 1.19 Volts | ok
BB +1.5V P1 DDR3 | 1.52 Volts | ok
BB +1.8V AUX | 1.77 Volts | ok
BB +3.3V | 3.31 Volts | ok
BB +3.3V STBY | 3.32 Volts | ok
BB Vbat | 2.93 Volts | ok
BB +5.0V | 4.99 Volts | ok
BB +5.0V STBY | 5.06 Volts | ok
BB +12.0V | 11.88 Volts | ok
BB -12.0V | -12.12 Volts | ok
BB +1.35V P1 MEM | disabled | ns
Baseboard Temp | 36 degrees C | ok
IOH Therm Margin | -7 degrees C | ok
Mem P1 Thrm Mrgn | -11 degrees C | ok
P1 Therm Margin | -58 degrees C | ok
P1 Therm Ctrl % | 0 percent | ok
Pwr Unit Status | 0x00 | ok
IPMI Watchdog | 0x00 | ok
Physical Scrty | 0x00 | ok
FP NMI Diag Int | 0x00 | ok
SMI TimeOut | 0x00 | ok
System Event Log | 0x00 | ok
System Event | 0x00 | ok
P1 Status | 0x00 | ok
P1 VRD Hot | 0x00 | ok
CATERR | 0x00 | ok
IOH Thermal Trip | 0x00 | ok
Button | 0x00 | ok
NM Capabilities | 0x05 | ok guess problem is in not existing commands "bmc info"
|
Here is the documentation for the addons: https://www.home-assistant.io/addons/ |
@ateodorescu ipmitool> ?
Commands:
raw Send a RAW IPMI request and print response
i2c Send an I2C Master Write-Read command and print response
spd Print SPD info from remote I2C device
lan Configure LAN Channels
chassis Get chassis status and set power state
power Shortcut to chassis power commands
event Send pre-defined events to MC
mc Management Controller status and global enables
sdr Print Sensor Data Repository entries and readings
sensor Print detailed sensor information
fru Print built-in FRU and scan SDR for FRU locators
gendev Read/Write Device associated with Generic Device locators sdr
sel Print System Event Log (SEL)
pef Configure Platform Event Filtering (PEF)
sol Configure and connect IPMIv2.0 Serial-over-LAN
tsol Configure and connect with Tyan IPMIv1.5 Serial-over-LAN
isol Configure IPMIv1.5 Serial-over-LAN
user Configure Management Controller users
channel Configure Management Controller channels
session Print session information
dcmi Data Center Management Interface
nm Node Manager Interface
sunoem OEM Commands for Sun servers
kontronoem OEM Commands for Kontron devices
picmg Run a PICMG/ATCA extended cmd
fwum Update IPMC using Kontron OEM Firmware Update Manager
firewall Configure Firmware Firewall
delloem OEM Commands for Dell systems
shell Launch interactive IPMI shell
exec Run list of commands from file
set Set runtime variable for shell and exec
hpm Update HPM components using PICMG HPM.1 file
ekanalyzer run FRU-Ekeying analyzer using FRU files
ime Update Intel Manageability Engine Firmware
vita Run a VITA 46.11 extended cmd
lan6 Configure IPv6 LAN Channels |
What's the output for the followin commands: |
# ipmitool -H 192.168.1.29 -U saen -I lanplus shell
Password:
ipmitool> mc info
Device ID : 33
Device Revision : 1
Firmware Revision : 0.56
IPMI Version : 2.0
Manufacturer ID : 343
Manufacturer Name : Intel Corporation
Product ID : 62 (0x003e)
Product Name : Unknown (0x3E)
Device Available : yes
Provides Device SDRs : no
Additional Device Support :
Sensor Device
SDR Repository Device
SEL Device
FRU Inventory Device
IPMB Event Receiver
IPMB Event Generator
Chassis Device
Aux Firmware Rev Info :
0x00
0x18
0x00
0x56
ipmitool> fru
FRU Device Description : Builtin FRU Device (ID 0)
Chassis Type : Main Server Chassis
Chassis Part Number : ..................
Chassis Serial : ..................
Chassis Extra : ..............................
Board Mfg Date : Mon Feb 21 23:46:00 2011
Board Mfg : Intel Corporation
Board Product : S5520HC
Board Serial : QSHN10701536
Board Part Number : E26045-454
Product Manufacturer : Wortmann AG
Product Name : TERRA Server
Product Part Number : ..........
Product Version : ....................
Product Asset Tag : S5520S |
Did you run those commands inside the ipmi-server docker instance (add-on) or on your computer? |
On computer. |
Unfortunately there is nothing I can do if |
It not fails just expected result of
inside docker itself no ping |
Is your Home Assistant installation in the same network with the server that you want to monitor? |
Yes, same network. |
Please add some documentation for users with use HAOS.
https://www.home-assistant.io/installation/alternative
The text was updated successfully, but these errors were encountered: