...
DPOD supports 3 types of alerts queries:
Type | Description | Example |
---|---|---|
Frequency | The condition will be met if there were X events in the checked time |
More than 5 system errors occurred in the last 10 minutes | ||
Flatline | The condition will be met if there is a value above a certain threshold | Device CPU is above 80% |
Any | The condition will be met if any results are returned for the query |
A DataPower object is down | ||
List | The condition will be met if a result is in/not-in a pre-defined list of values |
Alert Execution
An execution is one instance of the alert query, there are 3 ways to execute a query:
- Scheduled - Enabled queries can be scheduled to run on a specific time or on a fixed interval.
- Test Via the web console - Click the "Test" button in the Alerts Details Page for a one time only execution, you can use it for testing the query before scheduling it.
- Via the REST API - an alert can be executed remotely via the REST API (for example, with CURL), the REST API URL for each query can be found in the Alerts Details Page, Example can found here
Alert Publishing
The alert will be published once an alert execution run an alert query and generated one or more results.
...