Thursday, September 17, 2009

Enablng SNMP Polling in ESXi 4

Hello reader. Frantically googling "esxi snmp polling" because you can't get ESXi to listen for SNMP GET requests?
The ESXi/vCenter 4 Basic Administration Guide makes it seem deceptively simple to enable SNMP polling on an ESXi host. And it is, as long as you follow the document to the letter ...
The long and short of it is, you need to use the vSphere Remote CLI to set the target, community string, and port. Yes, if you run vicfg-snmp --show it will report that it is listening on UDP 161 by default, but the agent will not actually listen for GET requests unless you explicitly run vicfg-snmp.pl -p 161.

No comments: