![]() |
6 years ago | |
---|---|---|
.. | ||
Makefile.inc | 6 years ago | |
README.md | 6 years ago |
As part of it's AWS suite, Amazon provides a notification broker service called 'Simple Notification Service' or SNS. Amazon SNS works kind of similarly to Netdata's own notification system, allowing dispatch of a single notification to multiple subscribers of different types. Among other things, SNS supports sending notifications to:
To get this working, you will need:
awscli
./
as a home directory. Setup of this is distribution specific. /var/lib/netdata
is the recommended directory (because the permissions will already be correct) if you are using a dedicated user (which is how most distributions work).Once you have all the above, run the follwing command as the user netdata runs under:
aws configure
THis will prompt you for the access key and secret key for accessing Amazon SNS (as well as the default region and output format, but you can leave those blank because we don't use them).
Once that's done, you're ready to go and can specify the desired topic ARN as a recipient.
Notes:
AWSSNS_MESSAGE_FORMAT
in the configuration. This variable supports all the same vairiables you can use in custom notifications.