quote:Originally posted by asl-supportLarry,I have, somewhere, a VB script that will delete multiple devices.This was written by Levi Drain of SolarWinds (don't think he is there anymore) a while back. It just needs you give it a text file containing a list of IPs to remove and away it goes and does its thing.Analyser Sales LtdSolarWinds Premier Partnerwww.asl-solarwinds.co.uk
Where you able to locate this script? If so I would be greatly appreactive if you sent me a copy. Thanks!
voice.data.admin@gmail.com
Actually you can also do it without the script.
First find a common property that belongs to all the nodes you want to delete.If they are all different types of nodes, then open the custom property editor and create a common property.I added the word "delete" in the custom property 'serialnumber' for all the nodes I wanted to remove.Using this as an example;
delete from nodeswhere serialnumber = 'delete'
Restart the polling engine and you are done.(The nightly maintenance will clean up any loose ends left behind).
doesn't this leave a ton of orphaned records in other tables linked to those nodes' nodeID ? I did this manually and it seems to not delete the interfaces associated with the node out of the interfaces table
If you are not already running v9+, it is now possible to delete nodes in bulk via the 'Manage Nodes' page within the website interface.
Saves any manual SQL, script or orphanded data issues