Skip to main content

Manage alert rules

Notifications tell you when something happens to a cluster: a backup finished, a resource crossed a threshold, or FPT is about to run maintenance. You configure recipients per cluster and per service, delivered to email or a Telegram channel.

Set this up early. Both the backup service and auto vertical scaling refuse to activate until a recipient exists, so a missing notification configuration blocks those features rather than just leaving you uninformed.

What you can be notified about

ServiceSends an alert when
BackupA backup job runs, and when the backup service is enabled or disabled.
RestoreA restore is performed.
ResourcevCPU, RAM, or storage use crosses a threshold you set.
Vertical ScalingResources are scaled automatically.
MaintenanceFPT performs maintenance affecting the cluster.
note

Maintenance alerts go to email only. Telegram is not available for that service.

Set up a notification

  1. Log in to FPT Cloud Portal.

  2. From the main menu, select Database PlatformAll Database.

  3. Click the cluster ID, then open the Notification tab.

    Notification tab showing the notification list for a cluster

  4. Click Add new alert list above the notification table.

    Add notification dialog with type, service, and recipient fields

  5. Fill in the fields described below.

  6. Click Add.

The new alert appears in the Notification List on the same tab.

Notification fields

FieldWhat to enter
TypeHow the alert is delivered. Email sends to an address. Telegram sends to a channel, and is not available for the Maintenance service.
Current Services NotificationWhich service triggers the alert: Backup, Restore, Maintenance, Resource, or Vertical Scaling.
Current Recipient ListFor Email, the addresses that receive alerts. For Telegram, the channel ID. To get one, see Get a Telegram channel ID.

Choosing Resource adds three threshold fields, each a percentage of use: vCPU more than (%), RAM more than (%), and Storage more than (%).

An alert fires as soon as any one threshold is crossed. If all three are exceeded at once you get three separate notifications, not one combined alert, which is worth keeping in mind when you set the values.

tip

Set thresholds you would actually act on. Values that trip during normal peaks train the team to ignore the alerts, which costs you the one that mattered.

Manage configured alerts

The Notification List shows each alert's recipients, type, monitored service, and whether it is enabled. From there you can:

  • Edit an alert with the pencil icon, to change recipients or the monitored service.
  • Disable an alert to stop it temporarily, keeping the rule.
  • Re-enable an alert you disabled earlier.

Get a Telegram channel ID

Telegram delivery needs a channel ID, which Telegram does not show directly. These steps get it.

  1. In Telegram, create a new private channel to receive the alerts, for example FDE Notify.

  2. Search for @fde_notify_bot in the member field and add FDE NOTIFY to the channel.

    Telegram member search showing the FDE NOTIFY bot

  3. Promote @fde_notify_bot to Administrator of the channel, so it can post.

    Telegram channel administrator settings for the notification bot

  4. Search for @username_to_id_bot and open IDBot.

    Telegram search results showing IDBot

  5. Click Start, open the keyboard shortcuts, and select Channel.

    IDBot keyboard shortcuts with the Channel option

  6. Select the channel you created and click Send. Telegram returns the channel ID.

    IDBot reply showing the channel ID

Keep that ID. Enter it as the recipient when you set up a notification with Type set to Telegram.

note

Each channel has its own ID. To send alerts to more than one channel, repeat these steps per channel.

Next steps