[Orca-dev] Question: Values for webserver monitoring

Sean O'Neill sean at seanoneill.info
Wed May 7 10:44:29 PDT 2003


At 07:24 PM 5/7/2003 +0200, B.Schopp at gmx.de wrote:
>Hi Sean,
>
> > >- httpop_gets
> > >- httpop_posts
> > >- httpop_condgets
> >
> > Not familiar with this one.  Can you explain what a httpop_condgets is ?
>
>Blair uses this value in orcallator.se to count the methods HEAD and reply
>code 304, which both don't have to deliver a file back and therefore have
>no size returned (In most cases, respectively :-) ).
>
> > I would think maybe in these groupings:
> >
> > - dwnld_size[0-4]
> > - dwnld_totalz
> > - httpop_gets, httpop_posts, httpop_condgets
> > - http_errors
> > - # of webservers
>
>Accepted, with respect to the open point of httpop_condgets
>
> > Not sure what a httpop_condgets is but a get and a post are both "hits"
> > against a web server.
>
>In this case, i will combine the values of gets and posts to hits and count
>condgets seperate (and keep it as value in the generated dataflies).
>Maybe it will be of interest in deeper webmonitoring.

I was just looking over how httpops is calculated in orcallator.se.  It 
looks like every line is counted as a hit no matter what the status code - 
which kinda makes sense.  Then the hits are broken down into simple types:

   put_output("cndget/s",   sprintf("%8.2f", 
httpop_condgets/www_interval));
   put_output("search/s",   sprintf("%8.3f", httpop_searches/www_interval));
   put_output("   cgi/s",   sprintf("%8.3f", httpop_cgi_bins/www_interval));
   put_output(" htErr/s",   sprintf("%8.3f", httpop_errors/www_interval));

Oddly, GET and POST are both collected as statistics within orcallator.se 
but they aren't stored in the result text file like errors, cgi hits, and 
searches are above.

// Handle the method of the object served.  This define only works
// with non-proxy servers.
#define WWW_METHOD1(word)                                       \
   switch (word) {                                               \
     case "get":                                                 \
     case "GET":                                                 \
       httpop_gets++;                                            \
       break;                                                    \
     case "post":                                                \
     case "POST":                                                \
       httpop_posts++;                                           \
       break;                                                    \
     case "head":                                                \
     case "HEAD":                                                \
       ishead = 1;                                               \
       httpop_condgets++;                                        \
       break;

Looks like orcallator.se needs some updating.


--
Sean O'Neill 




More information about the Orca-dev mailing list