Relate exit status with service status

Issue #461 new
SzV created an issue

Would it be possible to add an option to set exit status code for a service?

Let's say service status is "Resource limit matched"

$ monit status -e $SERVICE
  status                       Resource limit matched
  ...
$ echo $?
1

Comments (2)

  1. Log in to comment