SNMP Aktivieren
SSH
esxcli system snmp set --enable true
[root@ESX_01:root@ESXi_3:~] esxcli system snmp set --enable true
[root@ESX_01:root@ESXi_3:~] esxcli system snmp set --authentication SHA1
[root@ESX_01:root@ESXi_3:~] esxcli system snmp set --privacy AES128
[root@ESX_01:root@ESXi_3:~] esxcli system snmp hash --auth-hash --raw-secret
Enter value for 'auth-hash':
Authentication secret must be at least eight(8) characters in length
[root@ESX_01:root@ESXi_3:~] esxcli system snmp hash --priv-hash --raw-secret -A
Enter value for 'priv-hash':
Enter value for 'auth-hash':
Authhash: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Privhash: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
[root@ESX_01:root@ESXi_3:~] esxcli system snmp set --users max/FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/priv