Thanks.
You can add your own custom health check notifier by setting consul's KV:
KEY: consul-alerts/config/notifiers/custom
VALUE: [ "/path/to/custom/script", "/path/to/another/script" ]
Value should be a JSON array pointing to scripts that will handle the notification. The data passed is a list of checks that have changed status. It can be read via STDIN.
If you need the custom events handlers, you can add them by setting consul's KV:
KEY: consul-alerts/config/events/handlers
VALUE: [ "/path/to/custom/script", "/path/to/another/script" ]
This passes the event payload to the list of scripts defined every time you call consul's event command. (`consul event -name payload`)
Hope this answers the question. We're still working on adding a feature where we can load the config via CLI. By then I'll add a sample config file.
Cheers,
~Dexter