Skip to content

Instantly share code, notes, and snippets.

@hunzo
Created March 4, 2022 04:47
Show Gist options
  • Select an option

  • Save hunzo/aee6b4ed0fcf8e6041ec99c15030d7d5 to your computer and use it in GitHub Desktop.

Select an option

Save hunzo/aee6b4ed0fcf8e6041ec99c15030d7d5 to your computer and use it in GitHub Desktop.
esxcli system snmp get
esxcli system snmp set --communities PUBLIC
esxcli system snmp set --syslocation "LOCATION"
esxcli system snmp set --syscontact email@domain.local
esxcli system snmp set --enable true
esxcli system snmp get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment