How to enable SNMP on VMware Hosts

  • Connect to your esxi host using SSH
  • Execute below commands:
esxcli system snmp set –communities YOURCOMMUNITY
esxcli network firewall ruleset set –ruleset-id snmp –allowed-all false
esxcli network firewall ruleset allowedip add –ruleset-id snmp –ip-address x.x.x.x
esxcli network firewall ruleset set –ruleset-id snmp –enabled true
esxcli system snmp set –enable true
  • Done!

 Virtualization    

Click here to set sidebar widgets.

Buy now