0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

How to enable SNMP v1,v2c on VCSA 7.0

Last updated at Posted at 2024-05-29

How to enable SNMP v1,v2c on VCSA 7.0

  1. login
    $ ssh root@<VCSA IPAddress>
    
    VMware vCenter Server 7.0.3.01600
    
    Type: vCenter Server with an embedded Platform Services Controller
    
    Password:
    Connected to service
    
        * List APIs: "help api list"
        * List Plugins: "help pi list"
        * Launch BASH: "shell"
    
    Command>
    
  2. Enable
    snmp.enable
    
  3. Set Communmity Name
    snmp.set --communities public
    
  4. Set Sending Trap Target
    snmp.set --targets <SNMP Manager IPAddress>@162/public
    
  5. Send Trap Test (warmStart)
    Command> snmp.test
    Results:
       Success: True
       Message: A warmStart notification was sent to 1 target.
    
  6. Check Configuration
    Command> snmp.get
    Config:
       Authentication: none
       Communities: public
       Enable: True
       Processlist: False
       Engineid: 80001f888067b71a1b7c08576600000000
       Loglevel: warning
       Notraps: ''
       Port: 161
       Privacy: none
       Syscontact: ''
       Syslocation: ''
       Targets:
         1:
             Ip: <SNMP Manager IPAddress>
             Port: 162
             Community: public
       Users:
       Remoteusers:
       V3targets:
       Pid: 14708
    
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?