alert configuration via alternate means and not email

Issue #791 closed
Stefan Beke created an issue

I'm not allowed to use emails in certain scenarios, so it would be nice to configure alert via other means, in my case either telegram or slack or mattermost.

I can exec on specific situation and that's how I initially configured monitrc, but exec won't notify, when situation returns to normal ( compared to alert ).

I'm trying to find config example where I could run custom binary/script on alert instead of email as in set alert, but it seems to be the only option.

Comments (3)

  1. Tildeslash repo owner

    You can enable the notification on success too:

    if failed <check> then exec <program1> else if succeeded then exec <program2>

    Another option is to use M/Monit, which has much more flexible alert rules:

  2. Log in to comment