Users Guide

Index
索引表示特定组件的事件编号。索引是可选参数。如果您省略索引参数,则将配置指定类型的所有组件(例如所有风扇)的事件。例如,当系统包含多个风扇时,您可以启用或禁用某个特定
风扇的事件通知。命令实例如下:
omconfig system events type=fan index=0 severity=critical
omconfig servermodule events type=fan index=0 severity=critical
该命令实例的结果为:Server Administrator 仅在系统机箱中的第一个风扇(索引 0)达到临界风扇转速时发送 SNMP 陷阱。
omconfig system webserver/omconfig servermodule webserver
使用 omconfig system webserver omconfig servermodule webserver 命令可以启动或停止 Web 服务器。 4-27显示该命令的有效参数。
4-27.WebServer配置参数
omconfig system recovery/omconfig servermodule recovery
使用 omconfig system recovery omconfig servermodule recovery 命令可以设置操作系统挂起或崩溃时所要采取的措施。您还可以设置将系统中的操作系统视为挂起之前所
必须经过的秒数。 4-28显示该命令的有效参数。
命令
要将检测到挂起的操作系统时的措施设置为关闭后再打开系统电源,请键入:
omconfig system recovery action=powercycle
omconfig servermodule recovery action=powercycle
在恢复措施启动之前将系统必须挂起的时间设置为 120 秒,请键入:
omconfig system recovery timer=120
omconfig servermodule recovery timer=120
omconfig system events type=<
组件名称
> severity=info
omconfig servermodule events type=<
组件名称
> severity=info
启用信息、警告和严重事件的通知。
事件通知的最低限制形式。
omconfig system events type=<
组件名称
> severity=warning
omconfig servermodule events type=<
组件名称
> severity=warning
启用警告和严重事件的通知。
省略信息事件通知,例如当组件返回正常状况时。
omconfig system events type=<
组件名称
> severity=critical
omconfig servermodule events type=<
组件名称
> severity=critical
仅启用严重事件的通知。
事件通知的限制形式。
omconfig system events type=<
组件名称
> severity=none
omconfig servermodule events type=<
组件名称
> severity=none
禁用事件通知。
无事件通知。
=
action=start
启动 Web Server
action=stop
停止 Web Server
action=restart
重启动 Web Server
注: 计时器的上限和下限取决于系统的型号和配置。
4-28.参数
=
action=none
操作系统挂起或崩溃时不采取任何措施。
action=reboot
关闭操作系统并启动系统,执行 BIOS 检查并重新载入操作系统。
action=poweroff
关闭系统的电源。
action=powercycle
关闭系统电源、暂停、打开电源并重新引导系统。当您想要重新初始化系统组件(如硬盘驱动器)时,关机后再开机是非常有用的。
timer=<n>
系统中的操作系统被视为挂起之前必须经过的秒数(20 秒至 480 秒)。