Re: Notification script in check program

Lutz Mader <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.