informatique:vmware:vcenter-snmpv3
This is an old revision of the document!
vCenter - Configuration SNMPv3
J'ai suivi la doc officielle VMware : https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vcsa.doc/GUID-3695CE84-C6DF-497E-BA4E-2B341CC366C5.html
J'ai remplacé les mots de passe et hashs par des noms entre < et >.
root@vcenter [ ~ ]# appliancesh
Password:
Connected to service
* List APIs: "help api list"
* List Plugins: "help pi list"
* Launch BASH: "shell"
Command> snmp.set --authentication SHA1
Command> snmp.set --privacy AES128
Command> snmp.hash --auth_hash <authpassphrase> --priv_hash <privpassphrase> --raw_secret true
Hash:
Auth_key: <authpassphrasehash>
Priv_key: <privpassphrasehash>
Command> snmp.set --users exp_supervision/<authpassphrasehash>/<privpassphrasehash>/priv
Command> snmp.enable
Command> snmp.get
Config:
Users:
1:
Username: exp_supervision
Sec_level: priv
Auth_key: <authpassphrasehash>
Priv_key: <privpassphrasehash>
Enable: True
Notraps: ''
Targets:
Privacy: AES128
Processlist: False
Loglevel: warning
Authentication: SHA1
Syscontact: ''
Syslocation: ''
Engineid: <engineid>
Port: 161
V3targets:
Remoteusers:
Communities: ''
Pid: 24793
Command> snmp.test
Results:
Message: Must first configure at least one v1|v2c|v3 trap target.
Success: False
Command>
informatique/vmware/vcenter-snmpv3.1604487987.txt.gz · Last modified: 2020/11/04 12:06 by didzkovitchz
