10-04-2009 04:36 AM
I've been experimenting with the following SNMP view for Ciscoworks:
snmp-server view CW-Cutdown mib-2 included
snmp-server view CW-Cutdown at excluded
snmp-server view CW-Cutdown ip.21 excluded
snmp-server view CW-Cutdown ip.22 excluded
snmp-server view CW-Cutdown ciscoCdpMIB included
snmp-server community public view CW-Cutdown RO 1
I have been able to successfully perform device discovery with this view and I thought the data collection was successful until i started getting this message when trying to perform UT collection:
Failed to start acquisition: Construction of XML data required for UT is in progress.Please try after some time.
It appears an xmlwrite.lock file is generated when this happens. I'm guessing the view is the cause of this somehow. Is it too restrictive?
10-04-2009 09:09 AM
No, a device view would not cause this. This view will, however, interfere with User Tracking. You will not be able to poll the ARP entries needed to populate IP addresses in UT.
The xmlwrite.lock is created to let UT know that the files needed for it to do its acquisition are being created. The lock should go away when Data Collection completes, and the files are written to disk. If for some reason this lock is not being deleted, then something bad is happening at the end of Data Collection.
It may have been a one-time thing. Try deleting the lock, then running a new Data Collection. See if the lock remains when the Data Collection completes. If it does, there should be an error in the ani.log.
10-08-2009 09:32 AM
No go. I have deleted the lock and tried to re-discover, but data collection will not run.
I've posted the ani.log file for review.
10-08-2009 10:03 AM
I think you've found a bug. I see a place in the code that could trigger this, but I need more debugging. IF you open a TAC Service request, they can walk you through the debugging. Once I confirm, I can provide you a patch to try.
10-09-2009 04:50 AM
Thanks. I've got the TAC case open and have sent them the log file with the necessary debugging enabled.
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