monit-general
[Top][All Lists]
Advanced

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

[Patch] Newest version of resource/process observation support


From: Christian Hopp
Subject: [Patch] Newest version of resource/process observation support
Date: Tue, 13 Aug 2002 21:07:45 +0200 (CEST)

Hi!

Changes since last announcement:

1) Syntax:

   <resource> <operator> <limit> [<cycles>] <action>

   resource:  choice of "cpuusage", "memusage", "memkbyte"
   operator:  choice of ">","!=","==","<" or "greater", "less",
              "equal", "notequal" or "gt", "lt", "eq", "ne"
   limit:     limit value as float for ".*usage" and integer for
              ".*kbyte"
   cycles:    (optional) number of cycles before action (defaults to
              1)
   action:    choice of "IGNORE", "ALERT", "RESTART", "STOP"

   You can fill it with anykind of monit filling words to full
   sentences or to any useless stuff.

2) Includes Igors feature request... was already hacking the whole day
   in p.y and l.l so I just did it (I hope it's okay):

   Mail addresses without "@" have the hostname appended

3) Hauks alerts with reasons with the addition of
   do_[start|restart|stop] with reasons.  The mails much more gorgeous
   now. (-:

4) zombies are causing alerts, not restarts

5) Runtests on Solaris and Linux (seem) successful

6) bugfixes


Quirks:

1) FreeBSD support not yet test and no compile result

2) Feature needs uid=root (Solaris) or gid=kmem (FreeBSD, maybe).
   Otherwise monit is still usable but feature is disabled.

3) Multiprocessor systems may have CPUUSAGE up to 100%*processors


Patch is against todays cvs.  The feature is still considered alpha!

Have fun,

Christian


-- 
Christian Hopp                                email: address@hidden
Institut für Elektrische Informationstechnik             fon: +49-5323-72-2113
Technische Universität Clausthal                         fax: +49-5323-72-3197
  pgpkey: https://www.iei.tu-clausthal.de/pgp-keys/chopp.key.asc  (2001-11-22)

Attachment: monit_proc_prelim3.tar.gz
Description: Binary data


reply via email to

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