monit-dev
[Top][All Lists]
Advanced

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

Re: check device core dump


From: Martin Pala
Subject: Re: check device core dump
Date: Mon, 08 Sep 2003 21:00:48 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030827 Debian/1.4-3

It should be fixed now, please test it if it works for you.

Martin

Jan-Henrik Haukeland wrote:

Jan-Henrik Haukeland <address@hidden> writes:

Thanks for the bugfix, altough now there is a new problem,
DeviceInfo_Usage() gets an empty DeviceInfo_T object when I run monit
with the following configuration:

 set daemon  60            # Poll at 1-minute intervals
set logfile /tmp/x #syslog set mailserver localhost # Use localhost as the smtp server set mail-format { from: address@hidden } # Make monit start it's web-server
 set httpd port 2812 #sdfsdf
  enable SSL pemfile /home/hauk/monit.pem
  and use address localhost
      allow localhost
      allow 127.0.0.1       # allow localhost to connect to the server
      allow hauk:hauk       # Allow Basic Auth
check device cdrom with path /dev/cdrom
    start "/bin/mount /dev/cdrom"
    stop  "/bin/umount /dev/cdrom"
    alert address@hidden
check device disk1 with path /
    alert address@hidden
check host ftp.redhat.com
    if failed port 21 protocol ftp
      then exec "/usr/X11R6/bin/xmessage -display :0 ftp connection failed"
    alert address@hidden
check host rhn.redhat.com if failed port 80 protocol http and request "/help/about.pxt" and timeout 10 seconds then unmonitor if failed port 443 type TCPSSL protocol http timeout 15 seconds then alert
    alert address@hidden
The problem is with the entry; check device disk1 above. The stack
trace:
Starting monit daemon
Starting httpd at [localhost:2812]
[New Thread 2049 (LWP 2546)]
[New Thread 1026 (LWP 2547)]
AssertException: at device/common_device.c:122
aborting..

Program received signal SIGABRT, Aborted.
[Switching to Thread 1024 (LWP 2545)]
0x42029331 in kill () from /lib/i686/libc.so.6
(gdb) up
#1  0x40032bdb in raise () from /lib/i686/libpthread.so.0
(gdb) #2 0x4202a8c2 in abort () from /lib/i686/libc.so.6 (gdb) #3 0x08056212 in DeviceInfo_Usage (devinfo=0x0, object=0x40212ffc "/")
   at device/common_device.c:122








reply via email to

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