Re: Update inventory or trigger discovery to specific IPs in CSPC API
Welcome to the Smart Net Total Care Community!
Our community includes Cisco experts to answer your questions about the Smart Net Total Care (SNTC) portal and CSP-Collector. Click the navigation links below to access materials for using our service and supported collectors.
Update inventory or trigger discovery to specific IPs in CSPC API
I have tried and failed to find great documentation for the CSPC XML API. I found another post that described how to get an inventory which was very helpful, but now I would like to add new devices (or discover them) programmatically.
If there is any good documentation on this API I would appreciate that too. The user guide basically just recognizes the API exists, and nothing else.
Or if there is a way to explore the API I don't know about, that would be useful.
Not super far. I started to inspect the API calls via the built in developer tools in Chrome, but CSPC compresses the data sent and received and I am having difficulty decompressing it with python. If you find a way to de-compress the body of the request and responses, please let me know!
Took a bit of a look through the XML API and managed to get a discovery to kick off via the use of the following XML run through the XML API Window. Note I had to take the Service name from our install, unsure if all instances are setup the same. Also have to build a unique value in the 'DiscoveryJob identifier' item for each job that gets run.
Hoping to spend some more time over the next couple of weeks to try and get something automated in our back end. Will update if I get anywhere.
I just installed a new 2.9 collector. During initial config, setting the DNS server kept failing so I continued anyway. Now I am in the admin shell and trying:admin# conf dns -a 192.168.10.4but it keeps failing with:execute % Error occured while executing...
Hi,The registration in the "smart net total care" was successful.We have received the email from cisco that you are reviewing our request, but we have not received another email from Cisco with the registration status.A TAC was opened, but it instructs to...
It looks like I few others have had the same issue recently. When I browse to services.cisco.com and login with my account, I am redirected to the splash screen for requesting access. I was recently given permissions on our account to access th...