ISEL(8)

โœจ ISEL(8) โœจ

bestieeee come get your firmware tea โ˜•๐Ÿ’– this is the ipmiutil sel page โ€” the one that reads your BMC's little diary of everything that ever happened ๐Ÿ‘‘


๐ŸŒธ NAME ๐ŸŒธ

ipmiutil_sel โ€” show firmware System Event Log records ๐Ÿฆ‹


๐Ÿ’… SYNOPSIS ๐Ÿ’…

ipmiutil sel [-abcflswvx -N node -P/-R pswd -U user -EFJTVYZ]

๐ŸŽ€ DESCRIPTION ๐ŸŽ€

okay so ipmiutil sel is a program that uses IPMI commands to read and display the System Event Log (SEL), which is stored by the BMC firmware. yes, the firmware keeps receipts ๐Ÿ“ and this utility is how you go read them.

It issues IPMI commands to read each record, and โ€” if you ask it to โ€” it incrementally writes records that haven't previously been read into the Linux syslog (/var/log/messages). so like, it remembers what it already told you and only spills the new stuff. very mindful, very demure ๐Ÿงš

This utility can use either the /dev/ipmi0 driver from OpenIPMI, the /dev/imb driver from Intel, the /dev/ipmikcs driver from valinux, direct user-space IOs, or the IPMI LAN interface if -N. so many options, we love a flexible queen ๐Ÿ’œ


โœจ OPTIONS โœจ

Command line options are described below.

  • -a string โ€” Add a SEL record with a string of up to 13 characters. Longer strings will be truncated. โš ๏ธ Note that this should be used sparingly, but it would be useful for changes made to the hardware or firmware environment, like "Fan replaced" or "flash FW2.1". like leaving a lil sticky note for future you ๐Ÿซถ
  • -b bin_file โ€” Interpret a file containing raw binary/hex SEL data dumped in binary form, such as that produced by "ipmitool sel writeraw bin_file". Each set of 16 bytes in the file will be interpreted as an IPMI event. ๐Ÿ”ฅ
  • -c โ€” Show output in a canonical format, with a default delimiter of '|'. (same as -n). ๐Ÿ’…
  • -d โ€” Deletes/Clears the SEL of all records. If the SEL becomes full (free space = 0), it no longer accepts new records, so the SEL should be cleared periodically (use checksel cron script). yes bestie it DELETES them, be so fr before you run this ๐Ÿ˜ญ
  • -e โ€” Show Extended sensor descriptions for events if run locally. This option will attempt to get the full sensor description from /var/lib/ipmiutil/sensor_out.txt, and also use its SDR to decode any raw threshold values in the event, if present. ๐Ÿ”
  • -f sel_file โ€” Interpret a file containing raw ascii text SEL data captured with ipmiutil sel -r, or some other similar utility. Each line in the file should be in this form, with no leading spaces:
04 00 02 76 a9 4a 47 20 00 04 10 09 6f 42 0f ff

Lines not in this format will be ignored. ๐Ÿšซ

  • -l N โ€” Show last N SEL records, in reverse order (newest first). For some BMC implementations, this may not show all N records specified. ๐Ÿ’€
  • -n โ€” Show output in a nominal/canonical format, with a default delimiter of '|'. (same as -c). โœจ
  • -r โ€” Show the 16 raw hex bytes for each SEL entry. The default is to display interpreted entries, and include relevant hex event bytes. ๐Ÿงฎ
  • -p โ€” Port to use. Defaults to RMCP port 623. ๐ŸŒ
  • -s N โ€” Show only SEL events with severity N or greater. Severity 0=INF, 1=MIN, 2=MAJ, 3=CRT. The default is to show all SEL events. ๐Ÿ‘‘
  • -u โ€” Show the SEL time as UTC and also get the SEL Time UTC offset if that command is supported. The default is to convert the SEL Time to local time. ๐Ÿ•ฐ๏ธ
  • -v โ€” Only show the version information. This shows: the ipmiutil sel utility version, the BMC version, the IPMI version, the SEL version, and the amount of free space in the SEL. โญ
  • -w โ€” This option writes SEL records to the Linux syslog (/var/log/messages) or Windows Application Log. It only writes SEL records that have timestamps newer than the last record written to syslog. It saves the last timestamp in an index file named /usr/share/ipmiutil/sel.idx (.\sel.idx in Windows). ๐Ÿ“ฎ
  • -x โ€” Causes extra debug messages to be displayed. ๐Ÿ›
  • -N nodename โ€” Nodename or IP address of the remote target system. If a nodename is specified, IPMI LAN interface is used. Otherwise the local system management interface is used. ๐Ÿ›ฐ๏ธ
  • -U rmt_user โ€” Remote username for the nodename given. The default is a null username. ๐Ÿ™ˆ
  • -P/-R rmt_pswd โ€” Remote password for the nodename given. The default is a null password. ๐Ÿ”
  • -E โ€” Use the remote password from Environment variable IPMI_PASSWORD. ๐ŸŒˆ
  • -F drv_t โ€” Force the driver type to one of the followng: imb, va, open, gnu, landesk, lan, lan2, lan2i, kcs, smb. Note that lan2i means lan2 with intelplus. The default is to detect any available driver type and use it. ๐Ÿš—
  • -J โ€” Use the specified LanPlus cipher suite (0 thru 17): 0=none/none/none, 1=sha1/none/none, 2=sha1/sha1/none, 3=sha1/sha1/cbc128, 4=sha1/sha1/xrc4_128, 5=sha1/sha1/xrc4_40, 6=md5/none/none, ... 14=md5/md5/xrc4_40. Default is 3. ๐ŸŽš๏ธ
  • -T โ€” Use a specified IPMI LAN Authentication Type: 0=None, 1=MD2, 2=MD5, 4=Straight Password, 5=OEM. ๐Ÿชช
  • -V โ€” Use a specified IPMI LAN privilege level. 1=Callback level, 2=User level, 3=Operator level, 4=Administrator level (default), 5=OEM level. ๐Ÿ‘ธ
  • -Y โ€” Yes, do prompt the user for the IPMI LAN remote password. Alternatives for the password are -E or -P. ๐Ÿ™‹โ€โ™€๏ธ
  • -Z โ€” Set the slave address for a local MC ๐ŸŽฏ

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

ipmiutil(8) ialarms(8) iconfig(8) icmd(8) idiscover(8) ievents(8) ifru(8) igetevent(8) ihealth(8) ilan(8) ireset(8) isensor(8) iserial(8) isol(8) iwdt(8)

the whole squad fr fr, go read them too ๐Ÿ’œ


โš ๏ธ WARNINGS โš ๏ธ

See http://ipmiutil.sourceforge.net/ for the latest version of ipmiutil and any bug fix list. no cap, go check it ๐Ÿ‘€


Copyright (C) 2009 Kontron America, Inc.

See the file COPYING in the distribution for more details regarding redistribution.

This utility is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. ๐Ÿซ 


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Andy Cress <arcress at users.sourceforge.net> ๐ŸŒŸ


and that's the whole page bestie!! ๐ŸŽ€ this was Version 1.4: 17 Feb 2010 โ€” yeah it's a vintage icon, we stan a legacy queen ๐Ÿ’…โœจ mwah, go clear your SEL ๐Ÿฆ‹