Re: Override restart

Guillaume François <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <CALwv5CyJ3L9JdBU9Hg_g=_=HzY8QuJ1AaVcMH+s4Kt88Qep-pg@mail.gmail.com>
Hello,

Why not overriding the "default" behavior by adding something like this

if not exist for 100 cycles then alert

Best Regards.

2018-03-22 16:04 GMT+01:00 Kevin Smith <[email protected]>:

> Maybe I’m just not googling or reading the manual correctly, but I want to
> monitor a process, and if the cpu usage reaches 100 just alert.  I do not
> want monit to attempt a restart
>
>
>
> check process kipmi0 matching "kipmi0"
>
>         if cpu usage > 100% for 3 cycles then alert
>
>
>
> On the web page for this process, existence says it will restart it, and I
> don’t want that to happen
>
> Existence             If doesn't exist then restart
>
> CPU usage limit If greater than 100.0% for 3 cycles then alert
>
>
>
>
>
> ------------------------------
> NOTICE: This email message is for the sole use of the intended
> recipient(s) and may contain confidential and privileged information. Any
> unauthorized use, disclosure or distribution is prohibited. If you are not
> the intended recipient, please contact the sender by reply email and
> destroy all copies of the original message.
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>



-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d(+) s++:- a C++$ ULC(+)>+++$ !P--- L+>$ !E---? W+++$ !N* !o-- K--?
w(+) !O---? !M- !V--? PS+? !PE Y+ PGP++>+++ !t-- !5 !X- R(+)>++* tv-? b(-)
DI !D- G(+)>+ e+++ h--() r->$ y?*
------END GEEK CODE BLOCK------

-- 
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.