When you configure the SNMP agent for SNMP v3, the agent supports sending traps. SNMP v3 also provides stronger security than v1 or v2c, including cryptographic authentication and encryption.
SNMP v3 informs are not supported. vCenter Server supports only notifications such as v1/v2c traps and v3 traps with all security levels.
Configure SNMP Engine ID
Every SNMP v3 agent has an engine ID, which serves as a unique identifier for the agent. The engine ID is used with a hashing function to generate localized keys for authentication and encryption of SNMP v3 messages.
If you do not specify an engine ID before you enable the SNMP agent, when you enable the standalone SNMP agent, an engine ID is generated.
Procedure
Configure SNMP Authentication and Privacy Protocols
SNMP v3 optionally supports authentication and privacy protocols.
Authentication is used to ensure the identity of users. Privacy allows for encryption of SNMP v3 messages to ensure confidentiality of data. The privacy protocols provide a higher level of security than is available in SNMP v1 and v2c, which use community strings for security.
Both authentication and privacy are optional. However, you must enable authentication if you plan to enable privacy.
The SNMP v3 authentication and privacy protocols are licensed vSphere features and might not be available in some vSphere editions.
Procedure
Configure SNMP Users
You can configure up to five users who can access SNMP v3 information. User names must be no more than 32 characters long.
While configuring a user, you generate authentication and privacy hash values based on the user's authentication and privacy passwords and on the SNMP agent's engine ID. After configuring users, if you change the engine ID, the authentication protocol, or the privacy protocol, the users are no longer valid and must be reconfigured.
Prerequisites
- Verify that you have configured the authentication and privacy protocols before configuring users.
- Verify that you know the authentication and privacy passwords for each user that you plan to configure. Passwords must be at least eight characters long. Store these passwords in files on the host system.
Procedure
Configure SNMP v3 Targets
Configure SNMP v3 targets to allow the SNMP agent to send SNMP v3 traps.
You can configure a maximum of three SNMP v3 targets, in addition to a maximum of three SNMP v1 or v2c targets.
To configure a target, you must specify a host name or IP address of the system that receives the traps, a user name, a security level, and whether to send traps. The security level can be either none, for no security, auth, for authentication only, or priv, for authentication and privacy.