Users Guide
omreport system events
使用 omreport system events 命令可以查看当前已启用或已禁用的 SNMP 陷阱。 此命令将显示系统中可以生成事件的每个组件的摘要。 对于每个组件,报告将显示哪些严重性设置
为要进行报告,哪些严重性设置为不进行报告。 以下为几个组件的一个输出实例:
omreport system events
Current SNMP Trap Configuration
-----------
System
-----------
Settings
Enable: Informational, Warning and Critical
Disable: None
---------------
Power Supplies
----------------
Settings
Enable: Informational, Warning and Critical
Disable: None
-----------
Fans
-----------
Settings
Enable: Critical
Disable: Informational and Warning
整个报告列出了系统中可以生成事件的所有组件的设置。
要查看特定类型组件的状况,请使用 omreport system events type=<
组件名
>命令。 此命令将显示系统中可以生成事件的每个组件的摘要。 表3-6 显示为不同组件类型显示的事
件。
表 3-6.按组件类型分类的系统事件
事件类型的命令实例
如果键入:
omreport system events type=fans
以下为输出实例:
-----------
Fans
-----------
Settings
Enable: Critical
Disable: Informational and Warning
omreport system operatingsystem
使用 omreport system operatingsystem 命令可以显示操作系统信息。
注: 某些组件类型可能在您的系统中不可用。
名称=值对
说明
type=accords
报告交流电源线的事件。
type=battery
报告电池事件
type=currents
报告风扇电流强度探测器事件。
type=fanenclosures
报告风扇附件事件。
type=fans
报告风扇事件。
type=intrusion
报告机箱侵入事件。
type=log
报告日志事件。
type=memory
报告内存事件。
type=powersupplies
报告电源设备事件。
type=redundancy
报告冗余事件。
type=temps
报告温度事件。
type=volts
报告电压事件。