Submit a ticketCall us

Don’t fall victim to a ransomware attack
Backups are helpful, but sometimes that’s not enough to protect your business against ransomware. At our live webcast we will discuss how to protect against ransomware attacks with SolarWinds® Patch Manager and how to leverage log data to detect ransomware. Register now for our live webcast.

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: 24 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
21:48, 22 Jun 2016

Tags

Classifications

Public