LMS 3.2 - Inventory fetch error -- getFlashPartitionInfoFromDevice

Answered Question
Apr 29th, 2010

Hi there,

inventory fetch results in error: Inventory Collection failed.

Troubleshooting

IC_Server.log shows the following error-messages

- getFlashPartitionInfoFromDevice(FlashAGI_CISCO_FLASH_HelperMethods

Device-Type: Cat4506 with  Version NmpSW: 7.4(2)

Are there any know issues with that device-type and Inventory-Collectinon?

Thanks for any feedback.

Lothar

-----------------------------------------------------------------------------------------------------------------------------

IC_Server.log

[ Thu Apr 29  14:25:52 CEST 2010 ],ERROR,[Thread-13],com.cisco.nm.rmeng.util.logger.XDILogger,57,com.cisco.nm
.xms.xdi.SdiEngine,initAndEvalAGIs,385,com.cisco.nm.lib.snmp.futureapi.SnmpR
eqTimeoutException: SnmpRequestTimeout on 10.168.40.4 while performing
SnmpWalk(*) at index = -1
[ Thu Apr 29  14:25:52 CEST 2010 ],INFO ,[Thread-13],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,275,
DP time is 66 seconds for 10.168.40.4
[ Thu Apr 29  14:25:52 CEST 2010 ],ERROR,[Thread-13],com.cisco.nm.rmeng.inventory.ics.core.CollectionControll
er,365,Exception for device 10.168.40.4 is
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.cisco.nm.rmeng.inventory.ics.core.CollectionController.run(CollectionController.java:360)
        at java.lang.Thread.run(Thread.java:595)
Caused by: com.cisco.nm.xms.xdi.ags.system.CollectionFailed:
com.cisco.nm.lib.snmp.futureapi.SnmpReqTimeoutException: SnmpRequestTimeout on 10.168.40.4 while performing SnmpWalk(*) at index = -1
        at com.cisco.nm.xms.xdi.pkgs.LibInventory.FlashAGI_CISCO_FLASH_HelperMethods.getFlashPartitionInfoFromDevice(FlashAGI_CISCO_FLASH_HelperMethods.java:370)
        at com.cisco.nm.xms.xdi.pkgs.LibInventory.FlashAGI_CISCO_FLASH_HelperMethods.populateFlashAG(FlashAGI_CISCO_FLASH_HelperMethods.java:907)
        at com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatSwitch.FlashAGI_CISCO_FLASH_Mib.g$eval(FlashAGI_CISCO_FLASH_Mib.java:65)
        at com.cisco.nm.xms.xdi.ags.FlashAGI.g$eval(FlashAGI.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(CollectionCon
troller.java:270)
        ... 1 more
[ Thu Apr 29  14:25:52 CEST 2010 ],ERROR,[Thread-13],com.cisco.nm.rmeng.inventory.ics.core.CollectionControll
er,381, Collection failed for the device : 324
com.cisco.nm.xms.xdi.ags.system.CollectionFailed:
com.cisco.nm.lib.snmp.futureapi.SnmpReqTimeoutException: SnmpRequestTimeout on 10.168.40.4 while performing SnmpWalk(*) at index = -1
        at com.cisco.nm.xms.xdi.pkgs.LibInventory.FlashAGI_CISCO_FLASH_HelperMethods.getFlashPartitionInfoFromDevice(FlashAGI_CISCO_FLASH_HelperMethods.java:370)
        at com.cisco.nm.xms.xdi.pkgs.LibInventory.FlashAGI_CISCO_FLASH_HelperMethods.populateFlashAG(FlashAGI_CISCO_FLASH_HelperMethods.java:907)
        at com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatSwitch.FlashAGI_CISCO_FLASH_Mib.g$eval(FlashAGI_CISCO_FLASH_Mib.java:65)
        at com.cisco.nm.xms.xdi.ags.FlashAGI.g$eval(FlashAGI.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:270)
        at java.lang.Thread.run(Thread.java:595)
[ Thu Apr 29  14:25:52 CEST 2010 ],INFO ,[Thread-13],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,421,Device collection failed for 10.168.40.4
[ Thu Apr 29  14:25:52 CEST 2010 ],INFO ,[Thread-13],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,596,No Trap
[ Thu Apr 29  14:25:52 CEST 2010 ],INFO ,[Thread-13],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,602,CALLING SELF TEST
[ Thu Apr 29  14:25:52 CEST 2010 ],INFO ,[Thread-13],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,604,DONE WITH SELF TEST

I have this problem too.
0 votes
Correct Answer by Joel Monge about 6 years 7 months ago

  Try increasing the SNMP timeout to begin with. Go to RME > Devices > Device Management > RME Devices. Select your device on the Device Selector and click on 'Edit Device Attributes'. Next, click on 'Inline Edit' and set an SNMP timeout value of 90 seconds to test. Save the changes by clicking on 'Modify'.

  If still no go, please provide the sysObjectID of this device and show tech along with the latest IC_Server.log with debugging.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Joel Monge Thu, 04/29/2010 - 08:33

  Try increasing the SNMP timeout to begin with. Go to RME > Devices > Device Management > RME Devices. Select your device on the Device Selector and click on 'Edit Device Attributes'. Next, click on 'Inline Edit' and set an SNMP timeout value of 90 seconds to test. Save the changes by clicking on 'Modify'.

  If still no go, please provide the sysObjectID of this device and show tech along with the latest IC_Server.log with debugging.

lo.mueller Fri, 04/30/2010 - 00:06

Hi Joe,

unfortunately increasing of snmp-timeout did resolve the issue.

SysObjId: .1.3.6.1.4.1.9.5.59

Please find attached: sh tech, IC_Server.log with debugging

(I deleted secure content in config)

Best Regards

Lothar

lo.mueller Fri, 04/30/2010 - 00:41

Hi Joe,

increasing SNMP-Timeout resolved the problem.

I changed the wrong parameter in the attributes.

Joel Monge Fri, 04/30/2010 - 06:18

Great, you might want to bump down the amount of seconds now to optimize it. I suggested to set to 90 just as testing but it will probably work with a lower setting.

Actions

This Discussion