Send notifications to Opsgenie
Opsgenie is an alerting and incident response tool. It is designed to group and filter alarms, build custom routing rules for on-call teams, and correlate deployments and commits to incidents.
The first step is to create a Netdata integration in the
Opsgenie dashboard. After this, you need to edit
health_alarm_notify.conf
on your system, by running the following from your config
directory:
Change the variable OPSGENIE_API_KEY
with the API key you got from Opsgenie. OPSGENIE_API_URL
defaults to
https://api.opsgenie.com
, however there are region-specific API URLs such as https://eu.api.opsgenie.com
, so set
this if required.
Changes to health_alarm_notify.conf
do not require a Netdata restart. You can test your Opsgenie notifications
configuration by issuing the commands, replacing ROLE
with your preferred role:
If everything works, you'll see alarms in your Opsgenie platform:
If sending the test notifications fails, you can look in /var/log/netdata/error.log
to find the relevant error
message:
You can find more details about the Opsgenie error codes in their response docs.