The Alerta monitoring system is a tool used to consolidate and de-duplicate alerts from multiple sources for quick ‘at-a-glance’ visualisation. With just one system you can monitor alerts from many other monitoring tools on a single screen.
Alerta's advantage is the main view, where you can see all active alarms with the most recent state. You can also view an alert history. You can send Netdata alerts to Alerta to see alerts coming from many Netdata hosts or also from a multi-host Netdata configuration.
The recommended setup is using a dedicated server, VM or container. If you have other NGINX or Apache servers in your organization, it is recommended to proxy to this new server.
You can install Alerta in several ways:
- Docker: Alerta provides a Docker image to get you started quickly.
- Deployment on Ubuntu server: Alerta's getting started tutorial walks you through this process.
- Advanced deployment scenarios: More ways to install and deploy Alerta are documented on the Alerta docs.
Sending alerts to Alerta
Step 1. Create an API key (if authentication in Alerta is enabled)
You will need an API key to send messages from any source, if Alerta is configured to use authentication (recommended).
Create a new API key in Alerta:
- Go to Configuration > API Keys
- Create a new API key called "netdata" with
Step 2. Configure Netdata to send alerts to Alerta
- Edit the
- Modify the file as below:
We can test alarms using the standard approach:
Note This script will send 3 alarms. Alerta will not show the alerts in the main page, because last alarm is "CLEAR". To see the test alarms, you need to select "closed" alarms in the top-right lookup.
For more information see the Alerta documentation