cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

2085
Views
0
Helpful
2
Replies
Highlighted
Beginner

LMS 4.0.1 Cisco 3925E Inventory Polling Fails

I have an LMS 4.0.1 server (on Windows 2008 R2) with all the LMS and device updates applied that fails when trying to do an Inventory Collection on a Cisco 3925E router.  The router is running IOS Version 15.1(1)T2.  This device is apparently supported according to:

http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/4.0/device_support/table/lms40sdt.html

Some 'show ver' info:

Cisco IOS Software, C3900e Software (C3900e-UNIVERSALK9-M), Version 15.1(1)T2, RELEASE SOFTWARE (fc1)

ROM: System Bootstrap, Version 15.1(1r)T2, RELEASE SOFTWARE (fc1)

System image file is "flash0:c3900e-universalk9-mz.SPA.151-1.T2.bin"

Cisco CISCO3925-CHASSIS (revision 1.0) with C3900-SPE200/K9 with 689152K/293888K bytes of memory.

'show inv':

NAME: "CISCO3925-CHASSIS", DESCR: "CISCO3925-CHASSIS"

PID: CISCO3925-CHASSIS , VID: V02, SN: FGL152610R8

NAME: "Cisco Services Performance Engine 200 for Cisco 3900 ISR on Slot 0", DESCR: "Cisco Services Performance Engine 200 for Cisco 3900 ISR"

PID: C3900-SPE200/K9   , VID: V02 , SN: FOC151828UX

NAME: "WAN Interface Card - HWIC Serial 1T on Slot 0 SubSlot 0", DESCR: "WAN Interface Card - HWIC Serial 1T"

PID: HWIC-1T           , VID: V04 , SN: FOC15170VRL

NAME: "C3900 AC-POE Power Supply 1", DESCR: "C3900 AC-POE Power Supply 1"

PID: PWR-3900-POE      , VID: V02, SN: SNI1503C7AV

NAME: "C3900 AC Power Supply 2", DESCR: "C3900 AC Power Supply 2"

PID: PWR-3900-AC       , VID: V03, SN: SNI1521C825

For reference, here is the SNMP configuration on the 3925:

snmp-server group ADMIN v3 auth

snmp-server community <rostring> RO

snmp-server ifindex persist

snmp-server ip precedence 2

snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart

snmp-server enable traps tty

snmp-server enable traps ospf state-change

snmp-server enable traps ospf errors

snmp-server enable traps ospf retransmit

snmp-server enable traps ospf lsa

snmp-server enable traps ospf cisco-specific state-change nssa-trans-change

snmp-server enable traps ospf cisco-specific state-change shamlink interface-old

snmp-server enable traps ospf cisco-specific state-change shamlink neighbor

snmp-server enable traps ospf cisco-specific errors

snmp-server enable traps ospf cisco-specific retransmit

snmp-server enable traps ospf cisco-specific lsa

snmp-server enable traps flash insertion removal

snmp-server enable traps envmon fan shutdown supply temperature status

snmp-server enable traps bgp

snmp-server enable traps memory bufferpeak

snmp-server enable traps config-copy

snmp-server enable traps config

snmp-server enable traps entity

snmp-server enable traps event-manager

snmp-server enable traps cpu threshold

snmp-server enable traps syslog

snmp-server enable traps vtp

snmp-server enable traps ipsla

snmp-server enable traps bulkstat collection transfer

snmp-server host 10.152.1.27 version 2c <rostring>

The specific error message captured from the IC_Server.log file:

[ Thu Sep 29  16:19:55 EST 2011 ],ERROR,[Thread-23],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,1075,Exception for device 172.22.41.9 is

java.lang.reflect.InvocationTargetException

    at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at com.cisco.nm.rmeng.inventory.ics.core.CollectionController.run(CollectionController.java:1065)

    at java.lang.Thread.run(Thread.java:662)

Caused by: com.cisco.nm.xms.xdi.ags.system.CollectionFailed: java.lang.StringIndexOutOfBoundsException: String index out of range: 2

    at com.cisco.nm.xms.xdi.pkgs.LibInventory.EnergyWise_HelperMethods.getDeviceEnergyWise(EnergyWise_HelperMethods.java:77)

    at com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.EnergyWiseAGI_ENERGYWISE_Mib.g$eval(EnergyWiseAGI_ENERGYWISE_Mib.java:51)

    at com.cisco.nm.xms.xdi.ags.EnergyWiseAGI.g$eval(EnergyWiseAGI.java:21)

    at com.cisco.nm.xms.xdi.SdiEngine.initAndEvalAGIs(SdiEngine.java:383)

    at com.cisco.nm.xms.xdi.SdiEngine.request(SdiEngine.java:309)

    at com.cisco.nm.xms.xdi.SdiEngine.getDevRepr(SdiEngine.java:302)

    at com.cisco.nm.rmeng.inventory.ics.core.CollectionController.run(CollectionController.java:687)

    ... 1 more

[ Thu Sep 29  16:19:55 EST 2011 ],ERROR,[Thread-23],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,1107, Collection failed for the device : 19

com.cisco.nm.xms.xdi.ags.system.CollectionFailed: java.lang.StringIndexOutOfBoundsException: String index out of range: 2

    at com.cisco.nm.xms.xdi.pkgs.LibInventory.EnergyWise_HelperMethods.getDeviceEnergyWise(EnergyWise_HelperMethods.java:77)

    at com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.EnergyWiseAGI_ENERGYWISE_Mib.g$eval(EnergyWiseAGI_ENERGYWISE_Mib.java:51)

    at com.cisco.nm.xms.xdi.ags.EnergyWiseAGI.g$eval(EnergyWiseAGI.java:21)

    at com.cisco.nm.xms.xdi.SdiEngine.initAndEvalAGIs(SdiEngine.java:383)

    at com.cisco.nm.xms.xdi.SdiEngine.request(SdiEngine.java:309)

    at com.cisco.nm.xms.xdi.SdiEngine.getDevRepr(SdiEngine.java:302)

    at com.cisco.nm.rmeng.inventory.ics.core.CollectionController.run(CollectionController.java:687)

    at java.lang.Thread.run(Thread.java:662)

I have attached a more detailed output from the IC_Server.log file for the Inventory Collection job of the device.

The error at first glance appears to be related to EnergyWise, so I even tried creating an SNMP view that excludes the EnergyWise MIB with the following configuration:

snmp-server view EXCLUDE-ENERYGYWISE-MIB iso included

snmp-server view EXCLUDE-ENERYGYWISE-MIB ciscoEnergywiseMIB excluded

snmp-server community L1ghty3@rSnmp$ view EXCLUDE-ENERYGYWISE-MIB RO

snmp-server group ADMIN v3 auth read EXCLUDE-ENERYGYWISE-MIB

But that didn't seem to fix it, the Inventory Collection still fails.  (Perhaps this configuration is incorrect?).

Has anyone experienced any issues like this?  I have tried everything I can think of to fix this, and have trawled through the support forums but couldn't find anything.

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

LMS 4.0.1 Cisco 3925E Inventory Polling Fails

Hi,

First of all very nice research with logs

You are hitting the below bug , which will  be fixed in LMS 4.2.However an official Patch will be release in the mid of october so you can conatct cisco to get the Patch for the same in October.

CSCts13593    Inventory collection fails due to VersionAPI code

Thanks

Afroj

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

View solution in original post

2 REPLIES 2
Cisco Employee

LMS 4.0.1 Cisco 3925E Inventory Polling Fails

Hi,

First of all very nice research with logs

You are hitting the below bug , which will  be fixed in LMS 4.2.However an official Patch will be release in the mid of october so you can conatct cisco to get the Patch for the same in October.

CSCts13593    Inventory collection fails due to VersionAPI code

Thanks

Afroj

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

View solution in original post

Beginner

LMS 4.0.1 Cisco 3925E Inventory Polling Fails

Thanks for the prompt response.  Ideally I was hoping for a fix, but I guess I will have to wait until the patch is released.

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards