VSPhere SNMP

Aus xinux.net
Zur Navigation springen Zur Suche springen

SNMPv3 Konfiguration ESXi Hosts

Auf dem ESXI Host

Hashalgorythmus

  • esxcli system snmp set --authentication SHA1

Verschlüsselungsalgorithmus

  • esxcli system snmp set --privacy AES128

Passwort Hashwerte

  • esxcli system snmp hash -r -A 123Start$ -X P@assw=rd

SNMPv3 Benutzer anlegen

  • esxcli system snmp set --users [User]/[Hash-AuthPW]/[Hash-PrivPW]/priv

Trapziel einrichten

  • esxcli system snmp set --v3targets [IP]/[User]/priv/trap

Aktivieren

  • esxcli system snmp set --enable true

Überprüfen

  • esxcli system snmp get