Forum Discussion

Simon_Wright_85's avatar
Simon_Wright_85
Icon for Nimbostratus rankNimbostratus
Oct 16, 2007

Ability to view currently running requests

Hi All

 

 

For the past few years we have used a tool called IISTracer to look at the currently running requests on our webservers. It has been very usefull for tracking down problems but due to the fact that a. It hasnt been the most stable thing we ever installed and b. its on a server by server basis and cannot give us results for a cluster of servers we dont want to use it any more.

 

 

Is there any way in F5 that an iControl could show the requests that are currently being served by a site and how long the loadbalancer has been waiting for them to return from a node?

 

 

Is this at all possible with a BigIP?

 

 

Cheers

 

 

Simon

1 Reply

  • The easiest way to do this is to use the log statement to send the data you want to the system log and then analyze it later. The downside to this is that there is only a finite amount of disk storage on the BIG-IP and the log system wasn't designed to be a database. If you regularly clean out the logs, then this shouldn't be that big an issue.

    Something like this should work for you.

    when HTTP_REQUEST {
      set uri [HTTP::uri]
      set start [clock milliseconds]
    }
    when HTTP_RESPONSE {
      log local0. "URI: $uri; Time: [expr [clock milliseconds] - $start] ms."
    }

    The output will be put in the /var/log/LTM file on the BIG-IP.

    Good luck!

    -Joe