[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ctrl-C strangeness -> SEGFault
From: |
Christian Hopp |
Subject: |
Re: Ctrl-C strangeness -> SEGFault |
Date: |
Fri, 15 Aug 2003 13:21:44 +0200 (CEST) |
On Thu, 14 Aug 2003, Jan-Henrik Haukeland wrote:
> Anyway, I have added a collective signal guard block in alert.c and in
> state.c now, does this help?
Nope!
> Ps. I cannot reproduce this SIGSEGV on my Linux but that does not have
> to mean anything since your monitrc file may run monit differently.
Try it yourself...
CHopp
----SNIP----
set daemon 20
set logfile /tmp/monit-test.log
set mailserver xxx
set httpd port 12812
address localhost
allow localhost
allow admin:bar
# Foo Services:
# -------------
check process crond with pidfile /var/run/crond.pid
start program = "/bin/true"
stop program = "/bin/true"
alert address@hidden
depends syslogd, inetd , ssh
check check with pidfile /var/run/gdm.pid
start program = "/bin/true"
stop program = "/bin/true"
alert address@hidden
check process inetd with pidfile /var/run/inetd.pid
start program = "/bin/true"
stop program = "/bin/true"
alert address@hidden
if failed port 515 then alert
check process ssh with pidfile /var/run/sshd.pid
start program = "/bin/true"
stop program = "/bin/true"
if mem > 1 MB 3 cycles then alert
if mem > 0.5 MB 3 cycles then exec "/usr/X11R6/bin/xmessage -display
:0 monit"
if cpu > 5.5% 3 cycles then alert
if failed port 22 protocol ssh then alert
alert address@hidden
check file foo with path /tmp/foo.txt
if timestamp changed then exec "/usr/X11R6/bin/xmessage -display :0
file"
check process syslogd with pidfile /var/run/syslogd.pid
start program = "/bin/true"
stop program = "/bin/true"
alert address@hidden
----SNAP---
--
Christian Hopp email: address@hidden
Institut für Elektrische Informationstechnik fon: +49-5323-72-2113
TU Clausthal, Leibnizstr. 28, 38678 Clausthal-Zellerf. fax: +49-5323-72-3197
pgpkey: https://www.iei.tu-clausthal.de/pgp-keys/
- Re: Ctrl-C strangeness -> SEGFault, (continued)
- Re: Ctrl-C strangeness -> SEGFault, Jan-Henrik Haukeland, 2003/08/14
- Proposal: testing, Rory Toma, 2003/08/14
- Re: Proposal: testing, Jan-Henrik Haukeland, 2003/08/14
- Re: Proposal: testing, Rory Toma, 2003/08/14
- Re: Proposal: testing, Jan-Henrik Haukeland, 2003/08/14
- Re: Proposal: testing, Rory Toma, 2003/08/14
- Re: Proposal: testing, Rory Toma, 2003/08/14
- Re: Proposal: testing, Jan-Henrik Haukeland, 2003/08/18
- status, Rory Toma, 2003/08/22
- Re: Proposal: testing, Christian Hopp, 2003/08/15
Re: Ctrl-C strangeness -> SEGFault,
Christian Hopp <=