Table Of Contents

Setting up Email Alarm Notifications

Last Modified: October 16, 2020

Configure InsightCM to send alarm notification emails.

Before you begin, configure your role with serverSettings_edit permissions, create an address group, and create an email template. Refer to Relationships Between User Accounts and Permissions for more information about permissions.
  1. On the server machine, in File Explorer, navigate to the ProgramData\National Instruments\InsightCM 3.0\Auth folder.
  2. Open the SmtpConfiguration.json file in a text file editor.
    spd-note-note
    Note  

    The InsightCM Server acts as an SMTP client and sends messages to an SMTP server when you edit this file with information about the SMTP server.

  3. Modify each line category according to your server information.

    "Host": "<servername>",

    "Port": "<port number>",

    "UseSsl": <true or false>,

    "RequireAuthentication": <true or false>,

    "Username": "<username>",

    "Password": "Secret\\Password", "Secret\"Password"
    spd-note-note
    Note  

    If your password contains backslashes or double quotations, you must use double backslashes or a backslash and double quotations respectively as shown in the above example.

    "TimeoutSeconds": <number>,

    "FromAddress": "yes-reply@localhost",

    "TestMode": <true or false>
    spd-note-note
    Note  

    Test Mode prevents the server from sending emails, even when you run commands from the InsightCM console. Enable the SMTP.Emails tracepoint to view messages that the server writes to the trace log.

  4. Save the .json file and open Windows Services.
  5. Find and select NI InsightCM <version> and click Restart.
    spd-note-note
    Note  

    Restarting the NI InsightCM service enables the software to read in the new SMTP settings.

Add an email template and address group to an alarm.

Recently Viewed Topics