# Configuring Alert Settings

Please set up the following configurations before scheduling email alerts (Dashboard). These configurations help the system to properly execute.

# Setting the Maximum Email Size

The email alert content varies with the data collected; this may cause the email size to exceed the allowable maximum size of the configured SMTP server which results in failure of sending the email. To handle this, follow these instructions to configure the allowable maximum email size:

  1. Go to the configuration directory, located by default in C:\Program Files\OpeniT\Analysis Server\Configuration.

  2. Open the appSettings.config file.

  3. Locate the key MaximumEmailSize and set the value to the configured allowable maximum email size of the SMTP server used. The default value is 20.

    Please set the value in megabytes (MB).

    appSettings.config
     1| <appSettings>
        ...
    43| <add key="AlertSnapshotCount" value="1" />
    44| <add key="MaximumEmailSize" value="20" />
    45| <add key="ASUri" value="http://MNL164WIN:80/" />
    46| </appSettings>
  4. Save the changes.

# Setting Snapshot Retention

Snapshots are the raw data collected and processed to produce the report included in the email alerts. These snapshots are essential for debugging and troubleshooting purposes when a counterchecking of the sent report is required.

Since the snapshot sizes vary with the amount of data collected, it may consume too much disk space. To avoid this, a snapshot retention configuration is provided. Follow these instructions to configure the snapshot retention:

  1. Go to the configuration directory, located by default in C:\Program Files\OpeniT\Analysis Server\Configuration.

  2. Open the appSettings.config file.

  3. Locate the key AlertSnapshotCount and set the value to the allowable number of snapshot instances. The default value is 1 which means that only 1 snapshot per portlet instance is allowed.

    appSettings.config
    1|  <appSettings>
        ...
    43| <add key="AlertSnapshotCount" value="1" />
    44| <add key="MaximumEmailSize" value="20" />
    45| <add key="ASUri" value="http://MNL164WIN:80/" />
    46| </appSettings>
  4. Save the changes.

# Setting the Analysis Server URI

When Analysis Server resides in a cloud instance, it might use a public URI other than the machine’s host name. This is also applicable in an on-prem machine that is configured to use hostname redirection (e.g., http://openit-marketing.com/). In this case, configuring the Analysis Server URI is required.

To configure the Analysis Server URI, follow these instructions:

  1. Go to the configuration directory, located by default in C:\Program Files\OpeniT\Analysis Server\Configuration.

  2. Open the appSettings.config file.

  3. Locate the key ASUri and set the correct value of the Analysis Server URI. Please make sure to provide the correct value of the Analysis Server URI to avoid malfunctions.

    appSettings.config
    1|  <appSettings>
        ...
    43| <add key="AlertSnapshotCount" value="1" />
    44| <add key="MaximumEmailSize" value="20" />
    45| <add key="ASUri" value="http://MNL164WIN:80/" />
    46| </appSettings>
  4. Save the changes.

We value your feedback!

Please take a few minutes to complete our survey and share your thoughts on your recent experience with our documentation.

Take survey

Close