Hi,

Yes, it's an http check.
We also have a nagios http check with the same behavior : sometimes the request 
is logged by varnishncsa, sometimes not.
We also catch the health check in vcl_error :
sub vcl_error {
        # Serve HealthCheck
        if (obj.status == 699) {
                set obj.status = 200;
                set obj.http.Content-Type = "text/html; charset=utf-8";
                synthetic "PASS";
                return(deliver);
        }
}

Here is an example of a valid request logging in varnishncsa:
10.33.1.201 - - [24/Sep/2010:16:36:45 +0200] "GET /rp_hc/ HTTP/1.1" 200 4 "-" 
"-"

Thanks for your help,

Regards,

François FANUEL

From: Caunter, Stefan [mailto:[email protected]]
Sent: vendredi 24 septembre 2010 16:33
To: François Fanuel; [email protected]
Subject: RE: Varnishncsa missing requests

Is the BIGIP health check an http check? We stopped using that in favour of a 
simple tcp check to port 80.

I've looked in my old varnishlog output, we were catching the F5 http health 
check in vcl_error.

Can you send some log examples?

Stefan Caunter :: Senior Systems Administrator :: TOPS
e: [email protected]  ::  m: (416) 561-4871
www.thestar.com www.topscms.com

From: [email protected] 
[mailto:[email protected]] On Behalf Of François Fanuel
Sent: September-24-10 4:54 AM
To: [email protected]
Subject: Varnishncsa missing requests

Hi,

We've got a strange behavior with varnishncsa : some requests that we can see 
in varnishlog are missing in the varnishncsa logs.

We can clearly see that with Healthchecks from our BIGIP (We've got 4x Varnish 
behind 2x BIGIP).
The BIGIPs are doing 1 request every 5 seconds that we can see in varnishlog. 
In the varnishncsa logs, we can't see every healthcheck request.
Sometime, we have no log at all for 3 or 4 minutes and then the logs reappears. 
We've done tests with or withour load, and the behavior is the same.

Any idea ?

Thanks for your help !

Regards,

François FANUEL
_______________________________________________
varnish-misc mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-misc

Reply via email to