You can display the SNMP settings, for example, UDP port, communities, V3 users, engine ID, authorization and privacy protocols, and so on.

Prerequisites

Configure the VMware Cloud Director appliance for SNMP v1 and v2c or SNMP v3.

Procedure

  1. Log in to the appliance shell as a user with administrative privileges.
  2. To display the SNMP settings, run the following command.
    vicfg-snmp --show

Example: Sample vicfg-snmp --show Output

The sample output shows that the SNMP agent is enabled for a V3 user with an authorization hash and a privacy hash.

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.