Hello Martin,
you are right, multiple status checks are useable.

>  check program myprogram with path "/usr/local/bin/helloworld"
>        if status = 0 then exec "/usr/local/bin/script_no_1"
>        if status > 0 then exec "/usr/local/bin/script_no_2"

The problem, all this checks are report with "Status failed". There is
no way to report a "Status succeeded" this way.

With regards,
Lutz


-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to