[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch] Proc support for monit (preliminary, alpha^2)
From: |
Christian Hopp |
Subject: |
[Patch] Proc support for monit (preliminary, alpha^2) |
Date: |
Thu, 8 Aug 2002 18:00:19 +0200 (CEST) |
Moin!
I have put together a preliminary version of my monit proc support.
The patch is against todays cvs and the additional files go in the
source dir.
Features:
- Zombie check
- CPU usage (percentage) of services
- MEM usage (percentage or kbyte) of services
- system dependent and independent code is strictly separated
(see proc_interface_sysdep.[ch])
This code IS NOT INTENDED for usage!!!! It compiles (Solaris 7 and
Linux/Debian) and it runs (Solaris 7) the checks, not more! You have
to look in the added monitrc-proc for the syntax. Be warned, it is
supposed as a teaser and for discussion of the implementation.
Known Problems:
- Solaris NEEDS uid root, otherwise there is no chance to access
/proc/$pid, and no workaround in sight!
- You can't turn off the proc support by now, zombie check is
enforced. But all RESOURCE options are optional.
- FreeBSD is not implemented (HELP!!!!)
- configure does not check for all the include files
- no docu by now but comments in the code
- if a service has children and the system has more then one cpu,
cpu usage can be bigger then 100% (look in the code!)
Nice crashing,
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)
monit_proc_prelim.tar.gz
Description: Binary data
- [Patch] Proc support for monit (preliminary, alpha^2),
Christian Hopp <=
- Re: [Patch] Proc support for monit (preliminary, alpha^2), Mark Ferlatte, 2002/08/08
- Re: [Patch] Proc support for monit (preliminary, alpha^2), Christian Hopp, 2002/08/08
- Re: [Patch] Proc support for monit (preliminary, alpha^2), Mark Ferlatte, 2002/08/08
- Re: [Patch] Proc support for monit (preliminary, alpha^2), Christian Hopp, 2002/08/08
- Re: [Patch] Proc support for monit (preliminary, alpha^2), Jan-Henrik Haukeland, 2002/08/08
- Re: [Patch] Proc support for monit (preliminary, alpha^2), rory, 2002/08/08
- Re: [Patch] Proc support for monit (preliminary, alpha^2), Jan-Henrik Haukeland, 2002/08/08
- Re: [Patch] Proc support for monit (preliminary, alpha^2), rory, 2002/08/08
- Re: [Patch] Proc support for monit (preliminary, alpha^2), Christian Hopp, 2002/08/09
- Re: [Patch] Proc support for monit (preliminary, alpha^2), rory, 2002/08/09