Blame doc/ipmievd.8

Packit d14fb6
.TH "ipmievd" "8" "" "Duncan Laurie" ""
Packit d14fb6
.SH "NAME"
Packit d14fb6
ipmievd \- IPMI event daemon for sending events to syslog
Packit d14fb6
.SH "SYNOPSIS"
Packit d14fb6
ipmievd [\fB\-c\fR|\fB\-h\fR|\fB\-d \fIN\fP\fR|\fB\-v\fR|\fB\-V\fR]
Packit d14fb6
\fB\-I\fR \fIopen\fP <\fIopen\fR | \fIsel\fR> [<\fIoption\fP>]
Packit d14fb6
Packit d14fb6
ipmievd [\fB\-c\fR|\fB\-h\fR|\fB\-v\fR|\fB\-V\fR]
Packit d14fb6
\fB\-I\fR \fIlan\fP \fB\-H\fR <\fIhostname\fP>
Packit d14fb6
        [\fB\-p\fR <\fIport\fP>]
Packit d14fb6
        [\fB\-U\fR <\fIusername\fP>]
Packit d14fb6
        [\fB\-A\fR <\fIauthtype\fP>]
Packit d14fb6
        [\fB\-L\fR <\fIprivlvl\fP>]
Packit d14fb6
        [\fB\-a\fR|\fB\-E\fR|\fB\-P\fR|\fB\-f\fR <\fIpassword\fP>]
Packit d14fb6
        [\fB\-o\fR <\fIoemtype\fP>]
Packit d14fb6
        [\fB\-O\fR <\fIsel oem\fP>]
Packit d14fb6
        \fIsel\fP [<\fIoption\fP>]
Packit d14fb6
Packit d14fb6
ipmievd [\fB\-c\fR|\fB\-h\fR|\fB\-v\fR|\fB\-V\fR]
Packit d14fb6
\fB\-I\fR \fIlanplus\fP \fB\-H\fR <\fIhostname\fP>
Packit d14fb6
        [\fB\-p\fR <\fIport\fP>]
Packit d14fb6
        [\fB\-U\fR <\fIusername\fP>]
Packit d14fb6
        [\fB\-L\fR <\fIprivlvl\fP>]
Packit d14fb6
        [\fB\-a\fR|\fB\-E\fR|\fB\-P\fR|\fB\-f\fR <\fIpassword\fP>]
Packit d14fb6
        [\fB\-o\fR <\fIoemtype\fP>]
Packit d14fb6
        [\fB\-O\fR <\fIsel oem\fP>]
Packit d14fb6
        [\fB\-C\fR <\fIciphersuite\fP>]
Packit d14fb6
        \fIsel\fR [<\fIoption\fP>]
Packit d14fb6
.SH "DESCRIPTION"
Packit d14fb6
\fBipmievd\fP is a daemon which will listen for events from the
Packit d14fb6
BMC that are being sent to the SEL and also log those messages to
Packit d14fb6
syslog.  It is able to run in one of two modes: either using the
Packit d14fb6
Event Message Buffer and asynchronous event notification from the
Packit d14fb6
OpenIPMI kernel driver or actively polling the contents of the
Packit d14fb6
SEL for new events.  Upon receipt of an event via either mechanism
Packit d14fb6
it will be logged to syslog with the \fILOG_LOCAL4\fP facility.
Packit d14fb6
Packit d14fb6
It is based on the \fBipmitool\fR utility and shares the same IPMI
Packit d14fb6
interface support and session setup options.  Please see the
Packit d14fb6
\fBipmitool\fR manpage for more information on supported IPMI
Packit d14fb6
interfaces.
Packit d14fb6
.SH "OPTIONS"
Packit d14fb6
.TP 
Packit d14fb6
\fB\-a\fR
Packit d14fb6
Prompt for the remote server password.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-A\fR <\fIauthtype\fP>
Packit d14fb6
Specify an authentication type to use during IPMIv1.5 \fIlan\fP
Packit d14fb6
session activation.  Supported types are NONE, PASSWORD, MD2, MD5, or OEM.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-c\fR
Packit d14fb6
Present output in CSV (comma separated variable) format.  
Packit d14fb6
This is not available with all commands.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-C\fR <\fIciphersuite\fP>
Packit d14fb6
The remote server authentication, integrity, and encryption algorithms
Packit d14fb6
to use for IPMIv2 \fIlanplus\fP connections.  See table 22\-19 in the
Packit d14fb6
IPMIv2 specification.  The default is 3 which specifies RAKP\-HMAC\-SHA1 
Packit d14fb6
authentication, HMAC\-SHA1\-96 integrity, and AES\-CBC\-128 encryption algorightms.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-E\fR
Packit d14fb6
The remote server password is specified by the environment
Packit d14fb6
variable \fIIPMI_PASSWORD\fP.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-f\fR <\fIpassword_file\fP>
Packit d14fb6
Specifies a file containing the remote server password. If this
Packit d14fb6
option is absent, or if password_file is empty, the password
Packit d14fb6
will default to NULL.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-h\fR
Packit d14fb6
Get basic usage help from the command line.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-H\fR <\fIaddress\fP>
Packit d14fb6
Remote server address, can be IP address or hostname.  This 
Packit d14fb6
option is required for \fIlan\fP and \fIlanplus\fP interfaces.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-I\fR <\fIinterface\fP>
Packit d14fb6
Selects IPMI interface to use.  Supported interfaces that are
Packit d14fb6
compiled in are visible in the usage help output.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-L\fR <\fIprivlvl\fP>
Packit d14fb6
Force session privilege level.  Can be CALLBACK, USER,
Packit d14fb6
OPERATOR, ADMIN. Default is ADMIN.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-m\fR <\fIlocal_address\fP>
Packit d14fb6
Set the local IPMB address.  The default is 0x20 and there
Packit d14fb6
should be no need to change it for normal operation.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-o\fR <\fIoemtype\fP>
Packit d14fb6
Select OEM type to support.  This usually involves minor hacks
Packit d14fb6
in place in the code to work around quirks in various BMCs from
Packit d14fb6
various manufacturers.  Use \fI\-o list\fP to see a list of
Packit d14fb6
current supported OEM types.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-O\fR <\fIsel oem\fP>
Packit d14fb6
Open selected file and read OEM SEL event descriptions to be used
Packit d14fb6
during SEL listings.  See examples in contrib dir for file format.
Packit d14fb6
.TP
Packit d14fb6
\fB\-p\fR <\fIport\fP>
Packit d14fb6
Remote server UDP port to connect to.  Default is 623.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-P\fR <\fIpassword\fP>
Packit d14fb6
Remote server password is specified on the command line.
Packit d14fb6
If supported it will be obscured in the process list. 
Packit d14fb6
\fBNote!\fR Specifying the password as a command line
Packit d14fb6
option is not recommended.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-S\fR <\fIsdr_cache_file\fP>
Packit d14fb6
Use local file for remote SDR cache.  Using a local SDR cache
Packit d14fb6
can drastically increase performance for commands that require
Packit d14fb6
knowledge of the entire SDR to perform their function.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-t\fR <\fItarget_address\fP>
Packit d14fb6
Bridge IPMI requests to the remote target address.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-U\fR <\fIusername\fP>
Packit d14fb6
Remote server username, default is NULL user.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-d \fIN\fP\fR
Packit d14fb6
Use device number N to specify the /dev/ipmiN (or 
Packit d14fb6
/dev/ipmi/N or /dev/ipmidev/N) device to use for in-band 
Packit d14fb6
BMC communication.  Used to target a specific BMC on a 
Packit d14fb6
multi-node, multi-BMC system through the ipmi device 
Packit d14fb6
driver interface.  Default is 0.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-v\fR
Packit d14fb6
Increase verbose output level.  This option may be specified
Packit d14fb6
multiple times to increase the level of debug output.  If given
Packit d14fb6
three times you will get hexdumps of all incoming and
Packit d14fb6
outgoing packets.
Packit d14fb6
.TP 
Packit d14fb6
\fB\-V\fR
Packit d14fb6
Display version information.
Packit d14fb6
Packit d14fb6
.LP 
Packit d14fb6
If no password method is specified then ipmievd will prompt the
Packit d14fb6
user for a password. If no password is entered at the prompt,
Packit d14fb6
the remote server password will default to NULL.
Packit d14fb6
.SH "COMMANDS"
Packit d14fb6
.TP 
Packit d14fb6
\fIhelp\fP
Packit d14fb6
This can be used to get command\-line help.  It may also be
Packit d14fb6
placed at the end of commands to get option usage help.
Packit d14fb6
Packit d14fb6
> ipmievd help
Packit d14fb6
.br 
Packit d14fb6
Commands:
Packit d14fb6
    open    Use OpenIPMI for asyncronous notification of events
Packit d14fb6
    sel     Poll SEL for notification of events
Packit d14fb6
Packit d14fb6
.TP 
Packit d14fb6
\fIopen\fP
Packit d14fb6
This command starts ipmievd with the OpenIPMI event watching
Packit d14fb6
mechanism which relies on the Event Message Buffer feature of
Packit d14fb6
IPMI.  This requires a properly installed and configured
Packit d14fb6
OpenIPMI driver on Linux and is only valid to be run through
Packit d14fb6
the \fIopen\fP interface.  See the \fBipmitool\fR manpage
Packit d14fb6
and associated documentation for more information on setting
Packit d14fb6
up the OpenIPMI driver.
Packit d14fb6
Packit d14fb6
\fBNote\fR: Some BMC do not support the Event Message Buffer
Packit d14fb6
required for this command.  Other BMCs claim to support it but
Packit d14fb6
do not actually deliver events to it.  If this is the case please
Packit d14fb6
use the \fIsel\fP method.
Packit d14fb6
Packit d14fb6
.RS
Packit d14fb6
.TP 
Packit d14fb6
\fIdaemon\fP
Packit d14fb6
Launch process as a daemon and reparent to init process.
Packit d14fb6
All messages will be sent to syslog.  This is the default action.
Packit d14fb6
.TP 
Packit d14fb6
\fInodaemon\fP
Packit d14fb6
Do NOT become a daemon, instead log all messages to stderr.
Packit d14fb6
.TP
Packit d14fb6
\fIpidfile\fP=<\fBfilename\fR>
Packit d14fb6
Save process ID to this file when in daemon mode.  Defaults to
Packit d14fb6
/var/run/ipmievd.pid\fIN\fP (where \fIN\fP is the ipmi device
Packit d14fb6
number -- defaults to 0).
Packit d14fb6
.RE
Packit d14fb6
Packit d14fb6
.TP 
Packit d14fb6
\fIsel\fP
Packit d14fb6
This command starts ipmievd with the SEL Polling event watching
Packit d14fb6
mechanism.  This will poll the SEL periodically to determine if
Packit d14fb6
new events have been logged.  This command should work with all
Packit d14fb6
BMCs and is capable of using the LAN interface as well to monitor
Packit d14fb6
a remote system and log its events to a local syslog.
Packit d14fb6
Packit d14fb6
.RS
Packit d14fb6
.TP 
Packit d14fb6
\fIdaemon\fP
Packit d14fb6
Launch process as a daemon and reparent to init process.
Packit d14fb6
All messages will be sent to syslog.  This is the default action.
Packit d14fb6
.TP 
Packit d14fb6
\fInodaemon\fP
Packit d14fb6
Do NOT become a daemon, instead log all messages to stderr.
Packit d14fb6
.TP
Packit d14fb6
\fIpidfile\fP=<\fBfilename\fR>
Packit d14fb6
Save process ID to this file when in daemon mode.  Defaults to
Packit d14fb6
/var/run/ipmievd.pid\fIN\fP (where \fIN\fP is the ipmi device
Packit d14fb6
number -- defaults to 0).
Packit d14fb6
.TP 
Packit d14fb6
\fItimeout\fP=<\fBseconds\fR>
Packit d14fb6
Time between checks for SEL polling method.  Default is 10 seconds.
Packit d14fb6
.RE
Packit d14fb6
.SH "EXAMPLES"
Packit d14fb6
.TP 
Packit d14fb6
\fIExample 1\fP: Daemon process watching OpenIPMI for events
Packit d14fb6
Packit d14fb6
> ipmievd \-I open open daemon
Packit d14fb6
.TP 
Packit d14fb6
\fIExample 2\fP: Local non\-daemon process checking remote SEL every 30 seconds
Packit d14fb6
Packit d14fb6
> ipmievd \-I lan \-H 1.2.3.4 \-f passfile sel nodaemon timeout=30
Packit d14fb6
.br 
Packit d14fb6
Reading Sensors...
Packit d14fb6
.br 
Packit d14fb6
Waiting for Events...
Packit d14fb6
.br 
Packit d14fb6
.SH "AUTHOR"
Packit d14fb6
Duncan Laurie <duncan@iceblink.org>
Packit d14fb6
.SH "SEE ALSO"
Packit d14fb6
.TP 
Packit d14fb6
IPMItool Homepage
Packit d14fb6
http://ipmitool.sourceforge.net
Packit d14fb6
.TP 
Packit d14fb6
Intelligent Platform Management Interface Specification
Packit d14fb6
http://www.intel.com/design/servers/ipmi
Packit d14fb6
.TP 
Packit d14fb6
OpenIPMI Homepage
Packit d14fb6
http://openipmi.sourceforge.net