Reference Guide

90
omconfig: 使用 Instrumentation Service 管理
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 Server。表 4-29 显示该命令的有效参数。
omconfig system events type=
<component name> severity=critical
omconfig servermodule events type=
<component name> severity=critical
启用重事件的
通知
事件通知式。
omconfig system events type=
<component name> severity=none
omconfig servermodule events type=
<component name> severity=none
禁用事件通知 事件通知
4-29. Web Server 配置参数
名称 = 值对 说明
action=start
Web Server
action=stop
停止 Web Server
action=restart
重启 Web Server
4-28. 系统事件严重性参数 (续)
命令 结果 说明