VMware : Configure SNMP daemon

By | April 19, 2020

You most likely have noticed that beside a service listed in the WebUI, there is nowhere to configure any options, and that attempting to start the service, it just won’t start.

The service has to be configured with the community string in order to be started. The only way of configuring the service, is using the shell.

1. Start the SSH service, if not already started

2. Login to the host with root credentials

3. Configure the community string using the following command :

Example – If your community name is “itechlounge”, the command would be :

4. Enable the service to start with the host :

OPTIONAL : If your host is directly connected to a public network, it is a very good idea to limit the exposure by adding a firewall rule to restrict to a certain IP or subnet (replace the example subnet to fit your needs) :

5. Start the service :

Additionally, here is how to configure SNMP traps :

Note : SNMP service has to be restarted after setting SNMP traps as well.