cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1021
Views
0
Helpful
2
Replies

CPI Device add (WLC) failed (InventoryCollection Error)

Marcel Kamenz
Level 1
Level 1

Hi,

I have a WLC (2500) and want to add it into the CPI.

There are many other WLCs already in the CPI with no problems.

So when the CPI starts the collection of SNMP information from the "evil"-WLC this process ends with an failure:

"Collection failure"

Other error::Wireless Controller inventory collection failed. Failure to collect feature class com.cisco.server.managedobjects.bridge.SnmpCommunity.

Software on the WLC is 7.4.100

Software on the CPI is 2.0.0.0.294

So I checked the WLC.....found nothing.

A SNMP debug on the WLC was OK.

Than I checked the Jobs on the CPI and the following Jobs status was failed:

PushCollectionPlanToDA

A check of the log shows the error why the CPI could no add the WLC:

hread Id : [2,490] : SAM_COLLECTION_INFO: [DACollectionPlanPushTask > executeTask: Device IP LIST =[192.168.142.50], Template=-1]

733: loopback: Jan 07 2014 15:19:05.074 +0100: %IFM-6-WITH_INFO: %[ch=com.cisco.ifm.sam][mid=201]: Thread Id : [2,490] : SAM_COLLECTION_INFO: [CollectionPlanBuilder:updateDeviceForTemplate: updating for templateID=-1]

734: loopback: Jan 07 2014 15:19:05.084 +0100: %IFM-6-WITH_INFO: %[ch=com.cisco.ifm.sam][mid=201]: Thread Id : [2,490] : SAM_COLLECTION_INFO: [CollectionPlanBuilder:metricsTemplate is not found for metric basic id:-1]

735: loopback: Jan 07 2014 15:19:05.084 +0100: %IFM-6-WITH_INFO: %[ch=com.cisco.ifm.sam][mid=201]: Thread Id : [2,490] : SAM_COLLECTION_INFO: [CollectionPlanBuilder getInterfacesWithDevice():-1deviceIp192.168.142.50:Exception:null]

736: loopback: Jan 07 2014 15:19:05.084 +0100: %IFM-6-WITH_INFO: %[ch=com.cisco.ifm.sam][mid=201]: Thread Id : [2,490] : SAM_COLLECTION_INFO: [CollectionPlanBuilder:metricsTemplate is not found for metric basic id:-1]

737: loopback: Jan 07 2014 15:19:05.084 +0100: %IFM-6-WITH_INFO: %[ch=com.cisco.ifm.sam][mid=201]: Thread Id : [2,490] : SAM_COLLECTION_INFO: [CollectionPlanBuilderImpl: Error finding collection profile type.]

738: loopback: Jan 07 2014 15:19:05.085 +0100: %IFM-6-WITH_INFO: %[ch=com.cisco.ifm.sam][mid=201]: Thread Id : [2,490] : SAM_COLLECTION_INFO: [DAOrchestrator:deployPlan:Entry]

739: loopback: Jan 07 2014 15:19:05.085 +0100: %IFM-6-WITH_INFO: %[ch=com.cisco.ifm.sam][mid=201]: Thread Id : [2,490] : SAM_COLLECTION_INFO: [DAOrchestrator:deployPlan: Now deploying for ****templateId=-1]

740: loopback: Jan 07 2014 15:19:05.086 +0100: %IFM-6-WITH_INFO: %[ch=com.cisco.ifm.sam][mid=201]: Thread Id : [2,490] : SAM_COLLECTION_INFO: [DAOrchestrator:deployPlan: isMultipleDA=false]

741: loopback: Jan 07 2014 15:19:05.188 +0100: %IFM-6-WITH_INFO: %[ch=com.cisco.ifm.sam][mid=201]: Thread Id : [2,490] : SAM_COLLECTION_INFO: [DAClientProxy:getRestUrl():URL  https://localhost:443/da/rest/daRest/CollectionPlan]

742: loopback: Jan 07 2014 15:19:05.214 +0100: %IFM-6-WITH_INFO: %[ch=com.cisco.ifm.sam][mid=201]: Thread Id : [2,490] : SAM_COLLECTION_INFO: [RESTDynamicInvocationProxy:collection service:SAM to DA REST:StatusPUSHED]

743: loopback: Jan 07 2014 15:19:05.224 +0100: %IFM-6-WITH_INFO: %[ch=com.cisco.ifm.sam][mid=201]: Thread Id : [2,490] : SAM_COLLECTION_INFO: [DADeployInfoDAOImpl:createDADeplyInfo: Successfuly created DADeployInfo details]

744: loopback: Jan 07 2014 15:19:05.224 +0100: %IFM-6-WITH_INFO: %[ch=com.cisco.ifm.sam][mid=201]: Thread Id : [2,490] : SAM_COLLECTION_INFO: [DAOrchestrator.deployPlan: DA1:PUSHED, PersistStatus: Success:Create DADeployInfo id:1,]

745: loopback: Jan 07 2014 15:19:05.224 +0100: %IFM-6-WITH_INFO: %[ch=com.cisco.ifm.sam][mid=201]: Thread Id : [2,490] : SAM_COLLECTION_INFO: [DAOrchestrator:deployPlan: Time taken to complete deploy plan for templateId=-1 (ms) 139]

746: loopback: Jan 07 2014 15:19:05.224 +0100: %IFM-6-WITH_INFO: %[ch=com.cisco.ifm.sam][mid=201]: Thread Id : [2,490] : SAM_COLLECTION_INFO: [DAOrchestrator.deployPlan:Exit]

So the error is:  CollectionPlanBuilderImpl: Error finding collection profile type.

Can anybody help me to fix the problem?

2 Replies 2

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi Marcel,

Can you try re-adding the WLC and see how it works !!

Also verify the credentilas as well while adding the device..

Thanks-

Afroz

[Do rate the useful post]

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

I also tried this many times - but always with the same result.

I tried SNMP v1, v2, v3, created other credentials on the WLC and used them.

Might there be a problem when exporting a config from an running WLC, modify it and upload the modified config to a new WLC? Thats the only thing that differ from the other WLC managed from the CPI.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: