User defined alert messages

Issue #17 resolved
Former user created an issue

Add support for user's defined alert messages. Would be very helpful for user's script that return different exit codes.

Comments (1)

  1. Tildeslash repo owner

    Scripts called from check program can already write an error message to stdout or stderr and it will be included in the alert message sent from Monit. Otherwise Monit also provides a way to compose the format of an alert message "freely" using $MONIT_XXX environment variables. The manual has more.

  2. Log in to comment