Quantcast
Channel: VMware Communities : Discussion List - VMware ESXi 5
Viewing all articles
Browse latest Browse all 20614

Configuring SNMP fails on ESXi 5.1

$
0
0

I have several ESXi 5.1 servers and on each one of them i get the exact same errors below when trying to enable SNMP.

 

1. I run "vicfg-snmp.pl --server <ESXHOST> --username root --password  <password> --s" and it displays the current config which snmp has not been setup.

2. I run "vicfg-snmp.pl --server <ESXHOST> --username root --password  <password> --c community01" to add a community successfully

3. I run "vicfg-snmp.pl --server <ESXHOST> --username root --password <password> --t <target>/community01" to add a target successfully

4. I run "vicfg-snmp.pl --server <ESXHOST> --username root --password <password> --E" to enable the SNMP config and i get the error below.

 

 

Enabling agent...
Use of uninitialized value in string eq at C:/Program Files (x86)/VMware/VMware
vSphere CLI/Perl/lib/VMware/VIMRuntime.pm line 81.
Use of uninitialized value in concatenation (.) or string at C:/Program Files (x
86)/VMware/VMware vSphere CLI/Perl/lib/VMware/VIMRuntime.pm line 50.
Undefined subroutine &Can't call method "ReconfigureSnmpAgent" on an undefined v
alue at C:\Program Files (x86)\VMware\VMware vSphere CLI\bin\vicfg-snmp.pl line
297.
::fault_string called at C:\Program Files (x86)\VMware\VMware vSphere CLI\bin\vi
cfg-snmp.pl line 299

 

5. if i run "vicfg-snmp.pl --server <ESXHOST> --username root --password <password> --s" i get the error message below:

 

Can't call method "configuration" on an undefined value at C:\Program Files (x86

)\VMware\VMware vSphere CLI\bin\vicfg-snmp.pl line 248.


C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>


I have tried these exact same steps on 3 different hosts and get the exact same results.

 

My environment is:

ESXi, 5.1.0, 799733

PowerCLI version 5.0.1.4431 installed on a windows 7 64bit workstation.

 

 

Anyone have any suggestions?


Viewing all articles
Browse latest Browse all 20614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>