Friday 15 May 2015

Configure SNMP for ESXi through SSH

Configure SNMP for ESXi through SSH

esxcli system snmp set --communities public

esxcli system snmp set --targets **IP SNMP SERVER*****@Port No/public

esxcli system snmp set --enable true

esxcli system snmp test

esxcli system snmp get

Cluster warning for ESXi SSH disable Command line

Cluster warning for ESXi SSH disable Command line

To disable SSH and warning using SSH:

vim-cmd hostsvc/advopt/update UserVars.SuppressShellWarning long 1


To enable SSH and warning using SSH:

vim-cmd hostsvc/advopt/update UserVars.SuppressShellWarning long 0