iwdt man page

ipmiutil_wdt- display and set WatchDog Timer parameters


ipmiutil wdt [-acdelrtx -N node -P/-R pswd -U user -EFJTVY]


ipmiutil wdt is a program that uses IPMI commands to display and set WatchDog Timer parameters.

This utility can use either any available IPMI driver, or direct user-space IOs, or the IPMI LAN interface if -N.

This utility is an example of how to access the IPMI watchdog parameters directly, which allows changing the timer configuration.

There is an init script provided with ipmiutil to automate the task of managing the watchdog timer in user-space.
# chkconfig --add ipmiutil_wdt      (skip this if no chkconfig)
# /etc/init.d/ipmiutil_wdt start
This sets the watchdog timer to reset the system if the wdt is not restarted within 90 seconds.  It creates an /etc/cron.d/wdt file to restart wdt every 60 seconds. See also ipmiutil UserGuide section 4.4 for more information.


Command line options are described below.

-a N

Set watchdog event Action to N. Values: 0 = No action, 1 = Hard Reset(default), 2 = Power down, 3 = Power cycle.


Show watchdog output in a canonical format, with a default delimiter of '|'.


Disables the watchdog timer.


Enables the watchdog timer.  The timer is not actually started, however, until the timer is reset.  The pre-timeout action is not enabled.


Set the watchdog dontLog bit to not log watchdog events in the SEL.

-p N

Set watchdog Pretimeout event action to N. Values: 0 = No action(default), 1 = SMI, 2 = NMI, 3 = Messaging Interrupt. If this is set to an action other than 0, the pretimeout will also be set to 90% of the timeout.  However, if the timeout is less than 20 seconds, the pretimeout will not be enabled.

-q S

Set watchdog pretimeout value to S seconds, rather than 90% of the timeout as in -p.  The pretimeout value must be >= 5 and at least 5 seconds less than the timeout value.


Resets the watchdog timer.  This should be done every N seconds if the timer is running to prevent the watchdog action (usually a system reset) from occurring.


Set the watchdog Timeout to N seconds.  The default is 120 seconds (2 minutes).


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.

-P/-R rmt_pswd

Remote password for the nodename given.  The default is a null password.

-U rmt_user

Remote username for the nodename given.  The default is a null username.


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.


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.


Use a specified IPMI LAN Authentication Type: 0=None, 1=MD2, 2=MD5, 4=Straight Password, 5=OEM.


Use a specified IPMI LAN privilege level. 1=Callback level, 2=User level, 3=Operator level, 4=Administrator level (default), 5=OEM level.


Yes, do prompt the user for the IPMI LAN remote password. Alternatives for the password are -E or -P.

See Also

ialarms(8) iconfig(8) icmd(8) idiscover(8) ievents(8) ifirewall(8)  ifru(8) ifruset(8) ifwum(8) igetevent(8) ihealth(8) ihpm(8) ilan(8) ipicmg(8) ireset(8) isel(8) isensor(8) iserial(8) isol(8) isunoem(8) iwdt(8) ipmiutil(8) ipmi_port(8)


See http://ipmiutil.sourceforge.net/ for the latest version of ipmiutil and any bug fix list.


Andy Cress <arcress at users.sourceforge.net>

Referenced By

ialarms(8), icmd(8), iconfig(8), idcmi(8), idiscover(8), iekanalyzer(8), ievents(8), ifirewall(8), ifru(8), ifwum(8), igetevent(8), ihealth(8), ihpm(8), ilan(8), ipicmg(8), ipmi_port(8), ipmiutil(8), ireset(8), isel(8), isensor(8), iserial(8), isol(8), itsol(8).

Version 1.3: 26 Apr 2010