com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Configuring Alerts

All alerts are configured globally by system administrators. The steps below explain how to change the default parameter values for alerts.

Before you begin, make sure you configure API Manager Analytics so that you can see the alert configurations shown in the screenshots below in the admin portal.

  1. Log into the WSO2 API Manager Admin Portal using the https://localhost:<SERVER_PORT>/admin URL.
  2. Click Settings to expand that section and then click Analytics. This opens the Alert Configurations page as shown below.

    The Status column indicates whether an alert is active or inactive.
  3. If you want to activate a currently inactive alert, click Activate in the relevant row. As a result, the Edit Configuration page opens where you can configure the alert. e.g., if you click Activate for the ConfigureAccessToken alert, the following page opens.
     
  4. If you want to deactivate a currently active alert, click Deactivate in the relevant row and click Yes in the message box that appears to confirm whether you want to deactivate the alert.
  5. If you want to edit an alert, click Edit  for the required alert to open the Edit Configurations page. The parameters you have to configure depends on the alert type you select for this parameter. Click on the relevant tab below to view descriptions for alert-specific parameters.

  6. Edit the email address, username, password and other relevant properties in the <APIM-ANALYTICS_HOME>/repository/conf/output-event-adapters.xml file, to point the mail transport sender that is enabled by default in the product to a valid SMTP configuration as shown in the example below. 

    <adapterConfig type="email">    
    	<property key="mail.smtp.from">email-address</property>
        <property key="mail.smtp.user">user-name</property>
        <property key="mail.smtp.password">password</property>
        <property key="mail.smtp.host">smtp.gmail.com</property>
        <property key="mail.smtp.port">587</property>
        <property key="mail.smtp.starttls.enable">true</property>
        <property key="mail.smtp.auth">true</property>
        <!-- Thread Pool Related Properties -->
        <property key="maxThread">100</property>
        <property key="keepAliveTimeInMillis">20000</property>
        <property key="jobQueueSize">10000</property>
    </adapterConfig>

    In gmail account security settings you may have to enable the Allow less secure apps option in order to connect the account to WSO2 products.

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.