Search
George Watkins - George's Blog
You are here: DevCentral > Weblogs

posted on Wednesday, August 18, 2010 4:10 PM

I’ve participated in and inherited quite a few WA (WebAccelerator) deployments during my tenure at F5. One pet peeve I have and I see it again and again: dirty performance reports! Take a look at the image below and you’ll notice that solid red line section of the bar graph at the bottom of the chart. Those are errors and they are too consistent to be user produced.

 

WA graph

 

A small baseline of errors is expected as there is always someone out there trying to forcefully browse the site or possibly a broken link, etc. These non-user-produced errors in the chart above however are almost always caused by an incorrect HTTP monitor. In a lot of cases, an administrator will point a plain HTTP monitor from their LTM at a WA virtual server and walk away. We all know that WA uses hostnames to determine the appropriate acceleration policy to apply to the incoming traffic. Without a host header the WA will respond with a HTTP 400 (Bad Request) and the monitor will be marked up, because it did receive a “valid response”. This has two consequences: not knowing the true health of our application and our performance reports will be marred by lots of errors.

In order to remedy this, we need to build a more intelligent HTTP monitor that provides a valid host header. I would also recommend a more intelligent monitor than a plain HTTP, but more on that next time. In order to do that, we need to login to our LTM user interface and navigate to “Local Traffic > Monitors > Create”. Name your monitor something intuitive (mysite.example.com_http), you can change the interval and timeout parameters to suit your needs, now here’s where the magic happens: the send string.

GET /index.html HTTP/1.1\r\nHost: mysite.example.com\r\nConnection: Close\r\n\r\n

You can set the receive string to something you expect to receive from index.html every time or leave it blank. Keep in mind that by leaving it blank, you still have the same case as mentioned previously whereby any HTTP response is considered valid. Either way, the errors will be removed from the performance charts making things a lot prettier. If all went well, your performance reports should start to look more like the one below.

 WA graph - clean



Feedback

8/18/2010 5:27 PM
Gravatar Thanks for posting this George. It is good to see someone cleaning up those WA reports. Do you have an "after" snapshot?

Thanks again,

joe
Joe Hicks
8/19/2010 9:12 AM
Gravatar Thanks for the post George. I noticed the errors on my WA reports a while back but I haven't had time to take a deeper look. This definitely saved me quite a bit of time so I appreciate it! Now to tweak those monitors.... :)
naladar
8/19/2010 9:40 AM
Gravatar Hi Joe,

I added an "after" snapshot for you. Looks a little better now. :-)

-George
George
12/10/2010 8:13 AM
Gravatar George,

Thanks for adding the after. It is funny, I arrived at this same post just browsing around the net. I was going to comment, but then saw that I already did. Those errors always annoyed me. Thanks for posting.

Joe
Joe Hicks

Let Me Know What You Think


Please use the form below if you have any comments, questions, or suggestions.

Title:
 
Name:
 
Email: (so we can show your gravatar)
Website:
Comment: Allowed tags: blockquote, a, strong, em, p, u, strike, super, sub, code
 
Please add 4 and 1 and type the answer here:

Blog Stats

Posts:10
Comments:14
Stories:0
Trackbacks:0
  

Post Categories

  Edge Gateway
  APM
  Linux
  Tools
  Ruby
  v11
  

82,243 Members in 102 Countries and Growing!

Join DevCentral Today!

About DevCentral

DevCentral has been a successful, thriving community for many years. We have always strived to bring you the best technical documentation, discussion forums, blogs, media and much more that we can.

So dive in, get familiar with DevCentral. We hope you like it, we hope it makes your job easier, and lets you get that much more power out of the community. To learn more, make sure to check out the Getting Started section. And if you have any problems, or think something could be easier to use, drop us a line to let us know.

Got It !

We've received your comment and transmitted it directly to DevCentral HQ.

Thanks for taking time to let us know what's on your mind. At DevCentral | Community Matters!

Get In Touch With Us

Have questions, suggestions or just want to get something off your chest?

Use our handy form below to Direct Connect with DevCentral Mission Control.

Send Us Feedback       or