Loading Posts...

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

Type:

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.”

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

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:

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!

How to Configure SNMP in vCSA 6.5 – SNMPv1
5 (100%) 4 vote[s]

Aruna Lakmal

Associate Technical Lead at Pearson, Sri Lanka. Technology junky, enthusiast, a VMware vExpert and a blogger with more than 6 years of Experience in Information Technology more focusing on VMware Virtualization, Microsoft and Datacenter Technologies.

Get Updates Directly To Your Inbox!

   

Leave a Reply

Loading Posts...