Reference Guide
omconfig:使用 Instrumentation Service 管理组件
135
设置警报措施命令示例
以下示例为有效命令的示例。对于每个成功发出的命令,系统将显示以下
消息:
警报措施已成功配置。
•
对于电流探测器措施
要在电流探测器检测到警告事件时禁用系统控制台警报,请键入:
omconfig system alertaction event=currentwarn
alert=false
或
omconfig servermodule alertaction event=
currentwarn alert=false
要在电流探测器检测到故障事件时启用广播消息,请键入:
omconfig system alertaction event=currentfail
broadcast=true
或
omconfig servermodule alertaction event=
currentfail broadcast=true
•
对于风扇探测器措施
要在风扇探测器检测到故障值时生成警报,请键入:
omconfig system alertaction event=fanfail alert=
true
或
omconfig servermodule alertaction event=fanfail
alert=true
•
对于机箱侵入措施
要清除针对机箱侵入的所有警报措施,请键入:
omconfig system alertaction event=intrusion
clearall=true
或
omconfig servermodule alertaction event=intrusion
clearall=true