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
Not sure what you mean by "manually". did you delete them via System Manager or directly from the database? You should probably not delete from database directly. The best method is bulk delete via web console, but that does require 9.x.
Database maintance will clean up any orphaned objects when it runs every night.
Not sure what you mean by "manually". did you delete them via System Manager or directly from the database? You should probably not delete from database directly. The best method is bulk delete via web console, but that does require 9.x. Database maintance will clean up any orphaned objects when it runs every night.
I agree this is the fastest and easiest way to delete a bunch of nodes at the same time.
BB
I found that to delete a lot of nodes the clicking on the box under the web interface took a longish time. I have two pollers, my plan is to shut them both down and delete through DB manager. I will then run DB maintenance by hand and re-start my pollers. I'm running 9.1. Does this make sense?