Skip to main content
Version: 6.1.0

Send an alert to E-mail

Performance problems often occur in production code non-deterministically, and often the only diagnostics available are an error log or possibly a stack trace. With N|Solid's saved views, you can automatically capture critical information when problems arise in production.

With N|Solid's console, you can trigger actions based on very specific and customizable criteria that is consider critical in your environment. Like CPU spikes, memory leaking and blocked event loop.

In this tract you'll set up an e-mail action using the N|Solid console every time the CPU usage goes above 40%.

First, go to the scatterplot view by clicking in the navbar top left, and selecting "Scatterplot"

Scatterplot view selection

Click on the filter bar and select on the criteria you prefer to perform your action, in this case, I choose CPU over 40%

Scatterplot view filter select

Give it a name, and click in the little box icon to see all the possible actions. For now I choose to send an e-mail every time the CPU goes over 40% for

Filter select CPU over 40%

Then just give it a beautiful name, mine is "CPU over 40%"

Filter set name CPU over 40%

Click on the small box icon, next to the "trashcan" icon and select the e-mail action

Action list

Select the e-mail action, put the list of mails you want to notify, comma separated or just one, as shown.

Email action

Finally! Just click on "SAVE ACTION" and you and your team will be notified every time the CPU goes over 40%.

Sooner than later, you'll have the notification in your inbox.

Email notification