How to Alert?
Opsgenie Slack Integration
Below are some examples of how powerful Logit’s alerting and notification engine is
Icinga2 is an open source IT infrastructure monitoring tool that shines with its performant and highly configurable monitoring solution. It has built-in. Integromat gives you the ability to integrate Slack with many other services. Alertmanager is configured via command-line flags and a configuration file. While the command-line flags configure immutable system parameters, the configuration file defines inhibition rules, notification routing and notification receivers. Opsgenie centralizes alerts from your monitoring, ticketing and ITSM tooling then dispatches them based on source, content and time to the folks. Some of our customers want a way to create alerts from messages sent to a Slack channel. This is a sample Lambda function to help you achieve this. It is an Outgoing WebHook application for Slack. Slack will post the messages sent to a channel to our API Gateway endpoint and we will create an alert in OpsGenie by using our AWS Lambda function.
Opsgenie Create Slack Channel
Alert on any match
Any Rule - Will match anything; every log that the query returns will generate an alert.
Alert when something is new
New Term Rule - Alert when a new value that has never been seen before appears in a log field.
Alert based on a blacklist
Blacklist Rule - Check against your blacklist to ensure a certain field doesn’t contain matching values.
Alert based on unique values
Cardinality Rule - Alert when the total number of metric values in a field, within a timeframe, is higher or lower than a specified threshold.
Alert based on a whitelist
Whitelist Rule - Check against your whitelist to ensure a certain field always contains matching values.
Metric Aggregation
Metric Aggregation Rule - Alert when the value of a metric is higher or lower than a threshold, in a given timeframe.
Alert when a field value changes
Change Rule - Monitor a specific field and alert if it changes.
Alert when a percentage changes
Percentage Match Rule - Alerting when a percentage of metrics or logs are higher or lower than a threshold.
Alert when the frequency of logs change
Frequency Rule - Alert when a certain number of log events occur in a given time frame.
Alert when there is a spike in events
Spike Rule - Alert when the volume of log events spikes higher or lower in a given time frame.
Alert when log events flatline
Flatline Rule - Alert when a number of metrics or logs are under a given threshold in a specific timeframe.