[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
monit event.h l.l monitor.h p.y validate.c
From: |
Jan-Henrik Haukeland |
Subject: |
monit event.h l.l monitor.h p.y validate.c |
Date: |
Fri, 18 Jul 2003 21:13:05 -0400 |
CVSROOT: /cvsroot/monit
Module name: monit
Branch:
Changes by: Jan-Henrik Haukeland <address@hidden> 03/07/18 21:13:05
Modified files:
. : event.h l.l monitor.h p.y validate.c
Log message:
Added exec of an arbitary command to the parser. I'll have to implement
the actual exec event handler though. Anyway, now you can add a exec
statement after a resource or timestamp statement like so:
if timestamp /etc/passwd > 1 hour then
exec "/etc/init.d/network stop"
as UID nobody and with GID nobody
if mem > 100 Mb then exec "/sbin/shutdown -r now"
NOTE: nothing is added to the various device statements in the parser
which we probably should
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/event.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/l.l.diff?tr1=1.39&tr2=1.40&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/monitor.h.diff?tr1=1.69&tr2=1.70&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/p.y.diff?tr1=1.85&tr2=1.86&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/validate.c.diff?tr1=1.51&tr2=1.52&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- monit event.h l.l monitor.h p.y validate.c,
Jan-Henrik Haukeland <=