How to Configure SNMP in vCSA 6.5 – SNMPv1

How to Configure SNMP in vCSA 6.5 – SNMPv1

In this article I’d like to show you the complete steps to configure SNMP v1 in the vCenter Server appliance. I have been closely working with vCenter server Migrations to 6.5 in my clients and had to re-configure the SNMP targets after the migrations, hope this article will help someone who try to configure the SNMP in a vCenter Server 6.5 Appliance.

What is SNMP ?

I assume you already know the meaning of the SNMP. These four letters stands for Simple Network Management Protocol which is collecting and organizing managed devices on IP networks. It can use to send device information from one device to another. Most of the network monitoring tools use SNMP traps to monitor the devices and capture the alarms and alerts.

Firstly, enable ssh login to the VCSA


Open a shell console to the VCSA



To view the current snmp settings of the VCSA, initially there shouldn’t be any configuration in the VCSA

First thing, we need to configure the SNMP community to configure the SNMP in the VCSA, use below format to set the SNMP community to your VCSA

SNMP community defines a group of devices and management systems. Only devices and management systems that are members of the same community can exchange SNMP messages. A device or management system can be a member of multiple communities.”
snmp.set --communities <COMMUNITY_NAME>

Type below commands to configure SNMP targets, for one SNMP target configure as below:


You can see the example as below

To configure multiple targets use the command as below:


Note: Any of these commands will override the current configuration, let’s say you have a single SNMP server configured and you execute the second server with the single target. Previous SNMP server configuration will override with the second server. So, you have to execute both targets again in the same command

Once these targets are configured execute the snmp.get command to view the configuration

To set the SNMP log level use below command

snmp.set --loglevel <DEBUG|INFO|WARNING|ERROR>

Finally, enable the SNMP on the VCSA


SNMP Test and Help

To send a SNMP Test command use the below command:


To View the SNMP Statistics, use below command:


You can also view the available options and configurations, type “snmp.” and hit TAB to view the options

To view the available configuration options in “snmp.set” command use below command:

snmp.set --help

Note : You can use –help, -h or TAB key to view the available commands

EX: This is the snmp.limits + TAB command output to see the Configuration Options

To configure the SNMP receivers to the vCenter server appliance you need to go to the vCenter General settings and add the receivers. In this setting this will send the triggered alarm notifications to the receivers. Previous, setting is for the vCenter service status and you need to set the receivers to send the alarm notifications.

Add the receivers details, url, port and community string as below

That’s it for now hope you enjoyed the post!

If you found this post as useful please rate the post and share it!

Click to rate this post!
[Total: 6 Average: 5]

3 responses

  1. Dhanuajaya Avatar

    Thanks Aruna for sharing how to enable snmp in the appliance.I was able to configure snmp on one of our core production vCenters all thanks to you.

    1. Aruna Lakmal Avatar

      Thank you for your feedback Dhanujaya!

  2. Paschal Avatar

    Thank you for sharing this,
    Sometimes the appliance shell does not gets loaded, but the BASH shell, you can start the Appliance shell by typing ‘appliancesh’ , then type your password and then you can enter the snmp.set and snmp.get commands.

Leave a Reply

Your email address will not be published. Required fields are marked *