This is an old revision of the document!
root@server:~# cat /etc/webhook.conf
[
{
"id": "my-alert-script",
"execute-command": "/usr/local/bin/mywall.sh",
"command-working-directory": "/tmp",
"pass-arguments-to-command": [
{
"source": "payload",
"name": "alerts"
}
]
}
]
root@server:~# webhook -hooks /etc/webhook.conf -verbose -port 9000