Nav

Configure Alerting on Anypoint Runtime Fabric

This topic describes how to configure Anypoint Runtime Fabric to send alerts through an existing SMTP server. Runtime Fabric comes bundled with alerts to raise visibility when its health may be compromised.

Procedure

  1. Using a terminal, open a shell/SSH connection to a controller VM.

  2. Create a file named alert-smtp.yaml.

  3. Add the following content to this file after customizing based on the table below:

    kind: smtp
    version: v2
    metadata:
      name: smtp
    spec:
      host: <smtp host>
      port: <smtp port>
      username: <username>
      password: <password>
    ---
    kind: alerttarget
    version: v2
    metadata:
      name: email-alerts
    spec:
      email: <email>

    Using the following values specific to your environment:

    Key Description

    smtp.host

    The endpoint of the SMTP server.

    <smtp port>

    The port used to connect to the SMTP server. (465 by default).

    <username>

    The username to use when connecting to the SMTP server.

    <password>

    The password to use when connecting to the SMTP server.

    <email>

    The recipient email address.

  4. Run the following command on the controller VM, referencing the file created earlier.

$ gravity resource create -f alert-smtp.yaml

Alerts should now be configured to send through your STMP server.

Built-in Alerts

The following are some of the alerts built-in to Anypoint Runtime Fabric:

Alert Description

High CPU usage

Sends a warning when > 75% used; triggers a critical error when > 90% used.

High memory usage

Sends a warning when > 80% used; triggers a critical error when > 90% used.

High disk space usage

Sends a warning when > 80% used; triggers a critical error when > 90% used.

High inode usage

Sends a warning when > 90% used; triggers a critical error when > 95% used.

Etcd instance health

Sends an error when etcd master is unaccessible for longer than 5 min.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.

+