monit-general
[Top][All Lists]
Advanced

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

Duped messages.


From: Peter van der Does
Subject: Duped messages.
Date: Mon, 02 May 2005 09:35:41 -0400
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

-----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-----




reply via email to

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