monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Notification script in check program


From: Lutz Mader
Subject: Re: Notification script in check program
Date: Fri, 22 Jun 2018 10:10:49 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]