Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 3.144.25.248
Web Server : Apache
System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.2.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /etc/webmin.rpmsave/../ipmi/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //etc/webmin.rpmsave/../ipmi/ipmisim1.emu
# This is an example simulation setup for ipmi_sim.  It creates a single
# management controller as a BMC.  That will have the standard watchdog
# sensor and we add a temperature sensor.

# The BMC is the MC at address 20
mc_setbmc 0x20

# Now add the BMC
mc_add 0x20 0 no-device-sdrs 0x23 9 8 0x9f 0x1291 0xf02 persist_sdr
sel_enable 0x20 1000 0x0a

# Watchdog sensor.  This must be sensor zero.
sensor_add 0x20 0 0 35 0x6f event-only
sensor_set_event_support 0x20 0 0 enable scanning per-state \
	000000000001111 000000000000000 \
	000000000001111 000000000000000

# Add a temperature sensor and its SDR.  Note that sensor 0 is already
# taken as the watchdog sensor.
sensor_add 0x20 0 1 0x01 0x01
# Start with the value set to 0x60
sensor_set_value 0x20 0 1 0x60 0
# Set just the upper thresholds with the values 0x70, 0x90, and 0xa0
sensor_set_threshold 0x20 0 1 settable 111000 0xa0 0x90 0x70 00 00 00
# Enable all upper threshold events events
sensor_set_event_support 0x20 0 1 enable scanning per-state \
	000111111000000 000111111000000 \
	000111111000000 000111111000000

# Add a memory module presence sensor.
sensor_add 0x20 0 2 37 0x6f
sensor_set_bit_clr_rest 0x20 0 2 1 1
#sensor_set_bit_clr_rest 0x20 0 2 0 1
sensor_set_event_support 0x20 0 2 enable scanning per-state \
	000000000000011 000000000000011 \
	000000000000011 000000000000011

# FRU data for entity 8.2
mc_add_fru_data 0x30 3 128 data 0

# Add a satellite MC
mc_add 0x30 2 no-device-sdrs 0x98 0x10 1 0xa0 0x1291 0xf03

sensor_add 0x30 0 1 0x01 0x01
# Uncomment the following and comment the proceding to read the value
# from the given file.  You can modify the file contents.
#sensor_add 0x30 0 1 0x01 0x01 poll 1000 file "/tmp/file1.ipm"
sensor_set_threshold 0x30 0 1 settable 111000 0xa0 0x90 0x70 00 00 00
sensor_set_event_support 0x30 0 1 enable scanning per-state \
	000111111000000 000111111000000 \
	000111111000000 000111111000000

mc_enable 0x30

# Turn on the BMC
mc_enable 0x20

Stv3n404 - 2023