Submit a ticketCall us

WebinarUpcoming Webinar: Know What’s Changed – with NEW Server Configuration Monitor

Change management in IT is critical. But, even with a good change management process, changes are too often not correctly tracked, if at all. The configuration of your servers and applications is a key factor in their performance, availability, and security. Many incidents can be tracked back to an authorized (and sometimes unauthorized) configuration change, whether to a system file, configuration file, or Windows® Registry entry. Join SolarWinds VP of product management Brandon Shopp to discover how the new SolarWinds® Server Configuration Monitor is designed to help you.

Register now.

Home > Success Center > Network Performance Monitor (NPM) > Bulk update SMTP server settings in alerts

Bulk update SMTP server settings in alerts

Table of contents
No headers
Created by Interspire Import, last modified by MindTouch on Jun 23, 2016

Views: 1,222 Votes: 2 Revisions: 12
  1. Before doing any work on your database please make sure that you have a current backup, as this will make a permanent change to your database - Backing Up, Restoring, and MIgrating Your Orion Databse.

  2. Open Database Manager (Start > All Programs > Solarwinds Orion > Advanced Features > Database Manager).

  3. Add Orion SQL Server as Default Server if not done already.

  4. Expand your Database.

  5. Run the following SQL statement:

    update [dbo].[ActionDefinitions]
    set Target = CAST(REPLACE(CAST(Target as NVarchar(MAX)),'SMTPServer:IP_OF_OLD_SMTP_SERVER','SMTPServer:IP_OF_NEW_SMTP_SERVER') AS NText)
    where CAST(Target AS nvarchar(max)) like '%SMTPServer:IP_OF_OLD_SMTP_SERVER%';
    
  6. Edit the above script where it shows 'IP_OF_OLD_SMTP_SERVER' or 'IP_OF_NEW_SMTP_SERVER' and replace them with the respective old or new SMTP server IP values from your environment.

Last modified

Tags

Classifications

Public