Reference Guide
142
omconfig:使用 Instrumentation Service 管理组件
索引
索引表示特定组件的事件编号。索引是可选参数。如果您省略索引参数,
则将配置指定类型的所有组件 (例如所有风扇)的事件。例如,当系统
包含多个风扇时,您可以启用或禁用某个特定风扇的事件通知。命令示例
如下:
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 Server。表 4-29 列出该命令的有效参数。
omconfig system recovery 或 omconfig servermodule recovery
使用 omconfig system recovery 或 omconfig servermodule recovery 命令
可以设置操作系统挂起或崩溃时要进行的措施。您还可以设置将系统中
的操作系统视为挂起之前所必须经过的秒数。表 4-30 列出该命令的有效
参数。
注:
计时器的上限和下限取决于系统的型号和配置。
表 4-29. Web Server 配置参数
名称 = 值对 说明
action=start
启动 Web Server。
action=stop
停止 Web Server。
action=restart
重启动 Web Server。