Contact Free trial Login

Set up Alerts for CPU and Memory Usage

Anypoint Platform Private Cloud Edition (Anypoint Platform PCE) sends alert emails when CPU and memory usage reach a certain threshold:

  • A warning email is sent when CPU and memory usage reach 70% of capacity.

  • An email that is labelled as critical is sent when CPU and memory usage reach 80% of capacity.

Prerequisites

To ensure that alerts work correctly:

  • Verify that your SMTP server can send and receive emails using the addresses you configure as the From and To addresses in the following section.

  • Verify that your cluster nodes can communicate with your SMTP server. For example, use telnet to connect to your SMTP server from one of your cluster nodes:

    telnet my.smtp.server.com 587
    Trying XXX.XXX.XXX.XXX...
    Connected to my.smtp.server.com.
    Escape character is '^]'.
    220 smtp.mandrillapp.com ESMTP
    ^[^]
    telnet> quit
    Connection closed.

Configuring Alerts

  1. Configure the FROM and TO email addresses:

    1. Log in to the Ops Center console, then select Configuration.

    2. From the Namespace drop-down, select kube-system.

    3. From the Config maps drop-down, select alerting-addresses.

    4. Select the From tab, then enter the FROM email address used for the alert.

    5. Select the To tab, then enter the TO email address used for the alert.

  2. Configure your SMTP email server. Configuring the SMTP server in Access Manager restarts the Anypoint Platform service responsible for initiating the alerts.

See Also