monit-general
[Top][All Lists]
Advanced

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

Re: Duped messages.


From: Martin Pala
Subject: Re: Duped messages.
Date: Mon, 02 May 2005 20:38:32 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050420 Debian/1.7.7-2

Can you run monit in verbose mode (using -v option) and send log output?

Thanks,
Martin

Peter van der Does wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I downloaded Monit 4.5.1 and installed it on our system.

When apache for example dies I get two messages but I also receive every
message three times.

This is the apache part in monitrc:

check process apache with pidfile /var/run/httpd.pid
        start program = "/opt/foo/sbin/httpd.sh start"
        stop program = "/opt/foo/sbin/httpd.sh stop"
        if failed host localhost port 80
                protocol HTTP request "/"
                then restart
                every 6 cycles
        if cpu > 90% for 6 cycles then restart
        if loadavg(5min) > 10 for 3 cycles then restart
        set alert address@hidden

And the messages that I get:

3 Times:
Date:    Sat, 30 Apr 2005 05:25:23 -0400
Host:    foo.com
Service: apache
Event:   Does not exist
Action:  restart
'apache' process is not running

3 Times:
Date:    Sat, 30 Apr 2005 05:26:23 -0400
Host:    foo.com
Service: apache
Event:   Exists
Action:  alert
'apache' process is running with pid 17657


Greetings
Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCdiytjk5b7MDYENARAkGUAJ9pKDBlkvm2gvmrxiU0W5/DvGu6igCePjVv
qlHnNsZyDL1VmIb+ewdLErM=
=b02p
-----END PGP SIGNATURE-----


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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