VSPhere SNMP
Version vom 26. März 2024, 16:05 Uhr von Thomas.will (Diskussion | Beiträge)
Vorgaben
- User: snmp-user
- AUTH-Pass: Passw0rd
- PRIV-Pass: 123Start$
- Target-IP: 172.21.1.223
Erstellen sie eine SNMPv3 Konfiguration auf einem ESXi Hosts
Hashalgorythmus
- esxcli system snmp set --authentication SHA1
Verschlüsselungsalgorithmus
- esxcli system snmp set --privacy AES128
Passwort Hashwerte
- esxcli system snmp hash -r -A <AUTH-Pass>-X <PRIV-Pass>
SNMPv3 Benutzer anlegen
- esxcli system snmp set --users <User>/<Hash-Auth-Pass>/[Hash-Priv-Pass]/priv
Trapziel einrichten
- esxcli system snmp set --v3targets <Target-IP>/<User>/priv/trap
Aktivieren
- esxcli system snmp set --enable true
Überprüfen
- esxcli system snmp get