ESXi vSphere: enable SNMP agent

ESXi vSphere: enable SNMP agent

ESXi vSphere: enable SNMP agent 150 150 Roderick Derks

Install the RCLI on a pc/laptop/server. Got to the command prompt and enable SNMP.

vicfg-snmp.pl –server <your_host> -t snmptrapsystem@port/community -c communitystring

(@port is optional in this command) – you can also set the community with the -c switch

vicfg-snmp.pl –server <your_host> -E = enable the service
vicfg-snmp.pl –server <your_host> -E = stop the service

vicfg-snmp.pl –server <your_host> -T = test your setup
vicfg-snmp.pl –server <your_host> -s = show your setup
vicfg-snmp.pl –server <your_host> -r = reset your config

(tested on a 4.1 ESXi host)

Roderick Derks

Liefhebber van fietsen, van het oplossen van IT puzzels, en van het delen van informatie om anderen te helpen.

All stories by:Roderick Derks

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Your Name (required)

    Your Email (required)

    Subject

    Your Message

      Your Name (required)

      Your Email (required)

      Subject

      Your Message