UDP ポート、コミュニティ、V3 ユーザー、エンジン ID、認証およびプライバシー プロトコルなどの SNMP の設定を表示できます。

前提条件

SNMP v1 と v2c または SNMP v3 用のVMware Cloud Director アプライアンスを構成します。

手順

  1. 管理者権限を持つユーザーとして アプライアンス シェルにログインします。
  2. SNMP の設定を表示するには、次のコマンドを実行します。
    vicfg-snmp --show

例: vicfg-snmp --show のサンプル出力

サンプル出力には、認証ハッシュとプライバシー ハッシュを持つ V3 ユーザーに対して SNMP エージェントが有効になっていることが示されています。

Current SNMP agent setting
Enabled : true
UDP port : 161
V1/V2c Communities :
V1 Notification targets :
Notification filter oids:
V3 Notification targets :
V3 Users : vcd-snmp-user 225e07958d3c6af615588db17d61986e69fb7a71 da1057af05f67a25a09265a9a2bedb53 authPriv
Contact :
Location :
Engine ID : 80001f8880efbab0540a653e6000000000
Auth Protocol : usmHMACSHAAuthProtocol
Priv Protocol : usmAESCfb128PrivProtocol
Log level : warning
Process ID : 15828
Large Storage Support : False
Simple Application Names: False
INFO: listing complete.