The 3 methodsA. Web console method (Deletion)1. Log into the Orion web console
2. Go to "Settings" then "Network Discovery"
3. Delete the old network discovery profiles
B. Database method 0. Database backup is recommended before attempting
1. Run Orion Database Manager as admin
2. Open 2 tables (Engines and DiscoveryProfiles)
3. Run default tables in both
4. Compare the EngineID column on both tables
5. Any EngineID in the discovery profiles table that does not
also exist in the Engines table must be either deleted or edited by enabling the "Enable Table Editing" option
6. Either update the EngineID to match an existing EngineID in the Engines table, or select the row and hit the delete key
C. SQL script method 1. Follow steps 0-4 in
Method B2. Select and edit the best template for your needs
|
This method will change all Discovery Profiles to EngineID 2
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. update DiscoveryProfiles set engineid = '2' where EngineID !='2'
|
|
This method will delete all Discovery profiles where EngineID does not equal 2
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. DELETE FROM DiscoveryProfiles where EngineID !='2'
|
|
This method will delete all Discovery profiles where EngineID equals 2
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. DELETE FROM DiscoveryProfiles where EngineID ='2'
|
|
This method will change all Discovery profiles to EngineID 2 if they are EngineID 1,3 or 4
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. UPDATE DiscoveryProfiles SET EngineID = 2 WHERE EngineID not in (1,3,4)
|