VSPhere SNMP: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
− | =SNMPv3 Konfiguration ESXi Hosts= | + | =Vorgaben= |
− | + | *User: snmp-user | |
− | =Hashalgorythmus= | + | *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 | *esxcli system snmp set --authentication SHA1 | ||
− | =Verschlüsselungsalgorithmus= | + | ==Verschlüsselungsalgorithmus== |
*esxcli system snmp set --privacy AES128 | *esxcli system snmp set --privacy AES128 | ||
− | =Passwort Hashwerte= | + | ==Passwort Hashwerte== |
− | *esxcli system snmp hash -r -A | + | *esxcli system snmp hash -r -A <AUTH-Pass>-X <PRIV-Pass> |
− | =SNMPv3 Benutzer anlegen= | + | ==SNMPv3 Benutzer anlegen== |
− | *esxcli system snmp set --users | + | *esxcli system snmp set --users <User>/<Hash-Auth-Pass>/[Hash-Priv-Pass]/priv |
− | =Trapziel einrichten= | + | ==Trapziel einrichten== |
− | *esxcli system snmp set --v3targets | + | *esxcli system snmp set --v3targets <Target-IP>/<User>/priv/trap |
− | =Aktivieren= | + | ==Aktivieren== |
*esxcli system snmp set --enable true | *esxcli system snmp set --enable true | ||
− | =Überprüfen= | + | ==Überprüfen== |
*esxcli system snmp get | *esxcli system snmp get |
Version vom 26. März 2024, 16:05 Uhr
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