02-16-2012 04:21 PM - edited 03-01-2019 10:17 AM
I tried to setup snmp configuration for ESXi 4.1 that is installed in B200M2 blade but failed. I have the vSphere CLI installed in my computer (Win XP), but the 'vicfg-snmp.pl" CLI command is not recognised either from console or SSH. Can anyone enlighten me how to fix this? Thanks guys.
Solved! Go to Solution.
02-16-2012 05:00 PM
No if you installed vCLI on your local workstation you launch it locally. Should be under program files -> Vmware -> Vmware vSphere vCLI - Command Prompt
From here you can run your perl scripts after changing to the /bin folder.
Full usage of the snmp script is found here:
Regards,
Robert
02-16-2012 04:27 PM
Robin,
When running the command from vCLI, did you change the path to the correct directory?
C:\Program Files\VMware\VMware vSphere CLI\bin
Robert
02-16-2012 04:32 PM
Hi Robert, I never changed the default path. Would I need to mount my local drive in order to read the command? thanks
02-16-2012 05:00 PM
No if you installed vCLI on your local workstation you launch it locally. Should be under program files -> Vmware -> Vmware vSphere vCLI - Command Prompt
From here you can run your perl scripts after changing to the /bin folder.
Full usage of the snmp script is found here:
Regards,
Robert
02-16-2012 06:20 PM
Thanks Rob,
Finally I am able to execute that command. The problem was due to non Administrator rights in my command prompt. Once I run as Admin, all good.
02-16-2012 06:22 PM
Good to hear. I always take for granted my accounts launch as admin - that's definately a requirement.
Enjoy!
Robert
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide