Skip to main content

Alerting Tes Implementation

To make sure that the alert is already working and applied to the instance, go to the console to trigger the CPU, RAM, and Network Usage by following these steps:

  • Click the Alerting page.

Instance Page

  • Select the More link, and then click the Access Console tab.

Instance Page - Access Console

  • Then, login to the instance using username and password that have been set while creating the instance.

Instance Login

  • If the login is successful, then use these following commands to trigger the metric usage. For example, in this step try to trigger the CPU Usage and the recipients will receive the alert on their email address.

Command for Trigger

Metric Trigger Command
CPU for i in 1; do while true; do :; done & done
RAM cat /dev/zero
Disk dd if=/dev/zero of=/tmp/tecst1.img bs=800MB count=1
Network wget

CPU Trigger Command

  • Check the CPU Usage Diagram on Details Instance page. If the trigger command is running there will be ups or downs on the graphic line of the CPU Usage Diagram. Then, the alert will notify the recipients based on the conditions that have been applied to it. For example, the recipients will receive an alert on their email address if the CPU Usage is above 1% and will keep receive the alert once per minutes based on the alert settings.

CPU Diagram After Trigger

Recipients Alert