Is it possible to use the orion API to bulk load servers and URLs to be monitored?
If possible what will be the steps? Are there samples in either Python or Powershell?
Yes it can be done, I don't think there are samples in the gallery of the whole process as they tend to be very simple things like "add a single node"
I've done scripts in the past to just ingest a big spreadsheet of hostnames and run discoveries off them, I've got this sloppy example hanging around in my public Github, https://github.com/Mesverrum/MyPublicWork/blob/master/DiscoveryByCSV
A lot of what was initially in there was just scratch notes of powershell that I would use as starting points while I was on site with clients so it gets a bit messy at times. In this case it looks like I commented out the original logic I was using to try to parse some subnet cidr addresses into a discovery job and then just manually forced in a different array of IP addresses. In any case the pieces are there if you feel like reassembling it.
For the URL it's also doable but I don't have a code sample handy to demonstrate. URL monitors can be done several different ways since technically you don't actually even have to apply them to the server that hosts the site, and then you can have each URL be it's own application or have all the url's as componented in one giant template. If you are assigning the url's one to one then all you really need to do is find out the templateid for your servers http or https monitor, use the apm verb to assign the template to a node and it should be ok. In some cases you probably need to over ride the template and set the url by adding the necessary data to orion.apm.componentsettings. There's definitely a certain amount of background knowledge you need to have about APM/SAM for me to even really be able to explain it to you. This guy teaches a good class on the Orion API if you need some guidance, @mrxinu
https://loop1.com/solarwinds-public-training/coder-camp/
https://loop1.com/solarwinds-public-training/orion-301-database-automation/
Thanks for the nod, my friend.