Quantcast
Channel: VMware Communities : Blog List - All Communities
Viewing all articles
Browse latest Browse all 3135

Configuring SNMP(v1/v2) in VCSA (using appliancesh)

$
0
0

Please follow the below steps to configure SNMP on VCSA:

 

1. SSH to your VCSA machine.

2. Switch to appliance shell using the command 'applaincesh'

(Enter the password when prompted)

3. The command 'snmp.set --help' will give all options that can be used to configure SNMP.

 

Usage:

        snmp.set [--help/-h] --notraps STR --targets STR --users STR

         --syscontact STR --port INT --communities STR --loglevel STR

         --privacy ENUM --engineid STR --remoteusers STR

         --syslocation STR --authentication ENUM --v3targets STR

 

Example: Enable SNMP in v1/v2c mode:

 

  • snmp.enable
  • snmp.set --communities <community_string>
  • snmp.set --targets <IP>@<Port>/<community_string>
  • snmp.test (sends a test trap to configured target)

 

shrivastavas


Viewing all articles
Browse latest Browse all 3135

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>