Sun Server Management Agents 2.0 用户指南

 

文档信息

前言

相关书籍

关于本文档(PDF 和 HTML)

相关第三方 Web 站点引用

Sun 欢迎您提出意见

更改历史记录

Sun Server Management Agents 介绍

Sun Server Management Agents 的功能

Sun Server Hardware Management Agent

Sun Server Hardware SNMP Plugins

Sun Server Storage Management Agent

安装组件

使用入门

前提条件

获得软件

Sun SSM Component Manager 概述

从以前的版本进行升级

(Linux 和 Solaris)使用 Component Manager

(Linux 和 Solaris)在交互模式下使用 Component Manager

(Linux 和 Solaris)在无人参与模式下使用 Component Manager

(Windows) 使用 Component Manager

(Windows) 使用 Component Manager 的图形界面

(Windows) 使用 Component Manager 的命令行界面

配置 Hardware Management Agent 和 Hardware SNMP Plugins

Hardware Management Agent 配置文件

配置 Hardware Management Agent 日志记录级别

如何配置 Hardware Management Agent 日志记录级别:

(Solaris 和 Linux)Hardware Management Agent 运行时选项

配置主机操作系统的 SNMP

(Solaris 和 Linux)配置 Net-SNMP/SMA

(Windows) 配置 SNMP

Sun Server Hardware SNMP Plugins

Sun HW Monitoring MIB 概述

Sun 服务器产品和机箱

Sun 服务器服务处理器

Sun Server Hardware Monitoring MIB

Sun Server Hardware Management Agent

Sun Server Hardware Inventory

Sun Server Hardware Monitor Sensor 组

sunHwMonIndicatorGroup

sunHwMonTotalPowerConsumption

Sun HW Trap MIB 概述

使用 Management Agents

通过 SNMP 检索和设置信息

sunHwMonProductGroup

sunHwMonProductChassisGroup

sunHwMonSPGroup

sunHwMonInventoryTable

sunHwMonSensorGroup

sunHwMonIndicatorLocator

生成 SNMP 陷阱

如何插入模拟故障

对 Management Agents 进行故障排除

常规 Management Agents 故障排除

Solaris 操作系统故障排除

Linux 故障排除

索引

如何插入模拟故障

  1. 在命令提示符下,键入以下命令:

    ipmitool -U user -P password -H hostname -v sdr list

    从返回的列表中选择要插入模拟故障的传感器。在本示例中,使用了 ipmi 事件:'P0/VTT' unc assert。

  2. 在命令提示符下,键入以下命令:

    # ipmitool -U user -P password -H hostname event 'P0/VTT' unc assert

    其中插入了 ipmi 事件:'P0/VTT' unc assert。

    您应收到类似如下的 SNMP 陷阱:

    sysUpTime.0 = Timeticks: (4300) 0:00:43.00

    snmpModules.1.1.4.1.1 = OID: sunHwTrapVoltageNonCritThresholdExceeded

    sunHwTrapSystemIdentifier.0 = STRING: sg-prg-x6220-01-sp0

    sunHwTrapChassisId.0 = STRING: 1005LCB-0728YM01R7::0739AL71EA

    sunHwTrapProductName.0 = STRING: SUN BLADE 6000 MODULAR SYSTEM::SUN BLADE X6220 SERVER MODULE

    sunHwTrapComponentName.0 = STRING: /SYS/MB/P0/VTT

    sunHwTrapThresholdType.0 = INTEGER: upper(1)

    sunHwTrapThresholdValue.0 = STRING:

    sunHwTrapSensorValue.0 = STRING:

    sunHwTrapAdditionalInfo.0 = STRING: Upper Non-critical going high

    sunHwTrapAssocObjectId.0 = OID: zeroDotZero

    sunHwTrapSeverity.0 = INTEGER: nonCritical(4)

    您可以通过检查系统日志记录验证 SNMP 陷阱,该记录应包含类似如下的内容:

    sg-prg-x6250-01 hwagentd[3470]: P0/VTT (Sensor ID: 0x1b) (Record ID: 0x821): Upper Non-critical going high.

    存储在系统日志或 Windows 应用程序日志中的消息与 SNMP 陷阱完全对应。在 Linux 和 Solaris 操作系统上,使用工具 daemon 和级别 notice 记录这些消息。


    注 - 如果与 SNMP 陷阱相对应的记录未存储在 Linux 和 Solaris 操作系统上,请确保启用了 daemon 工具和 notice 级别。