Users Guide

重性
在配置事件的上下文中,严重性用于确定组件类型的事件必须达到何种严重性时 Server Administrator 才通知您此事件。如果同一系统机箱中有多个同类组件,您还可以使用
index=<n> 参数指定是否要按组件编号通知事件的严重性。 4-26显示有效的严重性参数。
4-26.事件重性参数
索引
索引表示特定组件的事件编号。索引是可选参数。如果您省略索引参数,则将配置指定类型的所有组件(例如所有风扇)的事件。例如,当系统包含多个风扇时,您可以启用或禁用某个特定
风扇的事件通知。命令实例如下:
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显示该命令的有效参数。
type=battery
配置电池事件。
type=all
为所有设备类型配置事件。
type=fanenclosures
配置风扇附件事件。
type=fans
配置风扇事件。
type=intrusion
配置机箱侵入事件。
type=log
配置日志事件。
type=memory
配置内存事件。
type=powersupplies
配置电源设备事件。
type=redundancy
配置冗余事件。
type=systempower
配置电源设备事件。
type=temps
配置温度事件。
type=volts
配置电压事件。
命令
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