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