monit-general
[Top][All Lists]
Advanced

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

http check broke with 5.2


From: Kamenik, Aleksander
Subject: http check broke with 5.2
Date: Fri, 24 Sep 2010 13:53:05 +0100

After upgrading all my apache2 checks failed which worked with earlier 5.x and 
probably 4.x versions.

Here's a sample conf:

check process apache2 with pidfile /var/run/httpd2.pid
        start program = "/etc/init.d/apache2 start"
        stop program = "/etc/init.d/apache2 stop"
        if failed host localhost port 80
        protocol HTTP request /monit 
          then restart
        if 5 restarts within 5 cycles then timeout
        group www
        depends apache2_init
        depends apache2_bin

Error:

127.0.0.1 - - [24/Sep/2010:15:37:31 +0300] "GET %2Fmonit HTTP/1.1" 404 1041 "-" 
"monit/5.2"

As you can see it translates the forward slash. That's a bug.

Regards,

Aleksander Kamenik
System Administrator
Krediidiinfo AS
an Experian Company
Phone: +372 665 9649
Email: address@hidden



reply via email to

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