Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

整合式 Dell 遠端存取控制器第 7 版的 SNMP 組態

Summary: Dell 系統管理解決方案:Dell OpenManage、iDRAC、Repository Manager、Microsoft SCCM、Chassis Managment Controller 等

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

iDRAC7 裝置的 SNMP 組態

概觀

這篇文章解釋了在第三方系統管理主控台中設定用於監控 iDRAC7 的 SNMP 認證和陷阱目的地 IP 位址的詳細資料。iDRAC7 可為 Dell 12G 伺服器啟用無代理程式監控,並提供頻外管理解決方案。因此,隨著 Dell 12G 伺服器的推出,無需在伺服器中安裝 OpenManage Server Administrator 等代理程式即可監控 Dell 伺服器,因此不再需要作業系統來監控裝置。

您可以在 Dell 支援和手冊中找到 iDRAC7 的安裝和組態。

使用者指南可從 Dell 支援 下載:



使用 Web 介面設定 iDRAC7

設定 SNMP 認證:

  • 啟動 iDRAC7 主控台,並瀏覽至主控台中的「警示」區段。
  • 請確定已啟用警示選項,以將 SNMP 設陷轉送至管理站。
SLN311271_en_US__1i_Systems_Management_SNMPConfiguration1_N_V1

圖 1:啟用警示

  • 驗證並啟用用於接收所選 SNMP 陷阱集的過濾條件。
SLN311271_en_US__2i_Systems_Management_SNMPConfiguration2_N_V1

圖 2:驗證並啟用篩選條件

  • 確認警示結果區段並啟用 SNMP 設陷。
SLN311271_en_US__3i_Systems_Management_SNMPConfiguration3_N_V1

圖 3:驗證警示結果

  • 按一下「SNMP 和電子郵件設定」標籤,並使用管理站 IP 位址和 SNMP 社群字串配置陷阱目的地。
SLN311271_en_US__4i_Systems_Management_SNMPConfiguration4_N_V1

圖 4: 配置陷阱目標
 


 

使用 RACADM 設定 iDRAC7

啟用或停用警示:

若要啟用或停用產生警示或事件動作:

racadm config -g cfgIpmiLan -o cfgIpmiLanAlertEnable 1

設定 IP 警示目的地:

要配置陷阱警報設置,請執行以下操作:

  • 若要啟用設陷:
– 對於 IPv4 位址: racadm config -g cfgIpmiPet -o cfgIpmiPetAlertEnable -i (index) (0|1) 對於 IPv6 位址: racadm config -g cfgIpmiPetIpv6 -o cfgIpmiPetIpv6AlertEnable -i (index) (0|1), 其中 (index) 是目的地索引,0 或 1 分別禁用或啟用陷阱。例如,若要啟用索引為 4 的陷阱,請輸入下列命令:racadm config -g cfgIpmiPet -o cfgIpmiPetAlertEnable -i 4 1
  • 設定陷阱目的地位址:
racadm config -g cfgIpmiPetIpv6 -o cfgIpmiPetIpv6AlertDestIPAddr -i [index] [IP-address] ,其中 [index] 是陷阱目的地索引,[IP 位址] 是接收平台事件警示之系統的目的地 IP 位址。
  • 設定 SNMP 社群名稱字串:
racadm config -g cfgIpmiLan -o cfgIpmiPetCommunityName [name] ,其中 [name] 是 SNMP 社群名稱。
  • 若要測試設陷,請視需要:
racadm testtrap -i [index] ,其中 [index] 是要測試的陷阱目的地索引。

如需詳細資訊,請參閱 Dell 支援和手冊上的《iDRAC7 RACADM 命令列參考指南》。

使用 RACADM 設定多個 iDRAC7 裝置

RACADM 實用程式的一個強大功能是通過自動配置 RAC 來提高效率的功能。管理員可以使用 racadm config 命令部署配置檔中指定的設置,以在環境中的多個 RAC 中複製設置。

建立 RAC 組態檔案:

可以按如下方式建立設定檔 .cfg:

  • 從 racadm getconfig -f <filename.cfg> 命令取得。
  • 從 racadm getconfig -f <filename.cfg> 命令取得,然後自訂檔案。

如需 getconfig 命令的相關資訊,請參閱 Dell 支援提供的適用於 iDRAC7 與 CMC 的 RACADM 命令列參考指南中的 getconfig 命令  

設定 SNMP 設陷:

系統管理員可以在 cfgTraps 群組下的 RAC 組態檔案中,新增類似以下內容的程式列,以指定 SNMP 陷阱設定:

[cfg陷阱]

# cfgTrapsIndex=1

cfgTrapsDestIpAddr=192.168.1.1

cfgTrapsEnable=1

cfgTrapsSnmpCommunity=public

這些組態會啟用 SNMP 設陷,以便使用社群名稱「public」,將所有 RAC 事件警示傳送至目的地 IP 位址 192.168.1.1。

以下示例命令將 iDRAC-config.txt RAC 設定檔中包含的配置遠端複製到所需的 IP 位址。

racadm -r <iDRAC IP 位址> -u <idrac-username> -p <password> config -f iDRAC-config.txt

附錄

請參閱以下連結: 

Cause

不需要

Resolution

請參閱上述內容

Article Properties


Last Published Date

07 Dec 2023

Version

5

Article Type

Solution