ESXi SNMP Missing Field Value


Some users have reported issues with ESXi and SNMP when using the esxi script from my setup guide. The error we are seeing it (It may look a little different depending on when you caught the error)

cpu_number=4 value=' : missing field value

It turns out, the issue is related to ESXi’s snmp.xml file, so we’re going to update it to make it work for us!

I’ve created a script that will SSH into your ESXi host and backup and update the snmp.xml file for you and then apply the changes. Simply, download and chmod the fix file and you’re set!

wget https://raw.githubusercontent.com/tylerhammer/grafana/master/Data%20Collection/ESXi/Fix/fix.sh && chmod +x fix.sh && ./fix.sh

And thats it, those changes should resolve the error!