跳转至主要内容
  • 快速、轻松地下订单
  • 查看订单并跟踪您的发货状态
  • 创建并访问您的产品列表
  • 使用“Company Administration”(公司管理),管理Dell EMC站点、产品和产品级联系人。

Dell EMC OpenManage Installation Guide — Linux Version 9.4

PDF

Configuring The System To Send Traps To A Management Station Using The vSphere CLI

Server Administrator generates SNMP traps in response to changes in the status of sensors and other monitored parameters. One or more trap destinations must be configured on the system running Server Administrator to send SNMP traps to a management station.

Configure the ESXi system running Server Administrator to send traps to a management station:
  1. Install the VMware vSphere CLI.
  2. Open a command prompt on the system in which the vSphere CLI is installed.
  3. Navigate to the directory in which the vSphere CLI is installed. The default location on Linux is /usr/bin and on Windows is C:\Program Files\VMware\VMware vSphere CLI\bin.
  4. Configure the SNMP setting using the command: vicfg-snmp.pl --server <server> --username <username> --password <password> -c <community> -t <hostname>@162/<community>
    where <server> is the hostname or IP address of the ESXi system, <username> is a user on the ESXi system, <password> is the password of the ESXi user, <community> is the SNMP community name and <hostname> is the hostname or IP address of the management station.

    NOTE: If you do not specify a user name and password, you are prompted to specify the same.

  5. Enable SNMP using the command: vicfg-snmp.pl --server <server> --username <username> --password <password> -E
  6. View the SNMP configuration using the command: vicfg-snmp.pl --server <server> --username <username> --password <password> -s
  7. Test the SNMP configuration using the command: vicfg-snmp.pl --server <server> --username <username> --password <password> -T

    NOTE: The .pl extension is not required if you are using vSphere CLI on Linux or using vMA.

The SNMP trap configuration takes effect immediately without restarting any services.

对此内容评级

准确性
有用性
易理解性
这篇文章对您有帮助吗?
0/3000 characters
  请提供评级(1-5星)。
  请提供评级(1-5星)。
  请提供评级(1-5星)。
  请选择这篇文章是否有帮助。
  注释中不得包含以下特殊字符:<>()\