01-15-2009 07:05 AM
I'm trying to automate a way to update the cdp seed file entry. I have a script that runs on LMS2.6 that updates the DeviceDiscovery.properties with entries changed in the servers hosts file.
With version 3.1 it doesn't appear that this file is used, instead it looks like an XML file is generated (which I've been seeing issues with, another conversation). Can you tell me a little more about that XML file and how it gets generated, is there a place on the server side that I can update the seed instead of going through the GUI?
Solved! Go to Solution.
01-15-2009 10:01 AM
The CSDiscovery-config.xml file under the job ID directory in NMSROOT/objects/csdiscovery.
01-15-2009 09:52 AM
The XML file is generated by adjusting the Discovery settings under Common Services > Device and Credentials > Device Discovery. The file is NMSROOT/conf/csdiscovery/CSDiscovery-config.xml. This file is used for ad hoc Discoveries, but not when Discovery is scheduled, as different jobs may use different settings.
While I don't recommend modifying this file directly, you could certainly do it provided you do not corrupt the syntax. CDP seeds are added as sub-elements of the CDP Module element. A seed device imported from Campus Discovery would look like:
...
01-15-2009 09:57 AM
Ok, thanks. What file is used for scheduled discoveries?
01-15-2009 10:01 AM
The CSDiscovery-config.xml file under the job ID directory in NMSROOT/objects/csdiscovery.
01-21-2009 09:29 AM
One last question: After several days I've gone back to take a look at the seed file entries, CDP seeds look good, and the Global entries that I deleted have returned, are the global seeds kept in a different location? I see them in the CSDiscovery-config.xml file under /conf/csdiscovery, but I didn't put them back in there....
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