Re: statistic for mod_jk/mod_proxy requests by source-ip

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

 



On Apr 24, 2010, at 1:47 PM, ap wrote:

> 
> Hi all,
> 
> is it possible to build a relation between mod_status and mod_proxy/mod_jk
> ?

Probably.  Mod_ssl registers something on mod_status: you might look at how it does that. 

S.

> I.e. I need an answer to the question
> 
> how many client (client-ip) addresses are connected to a specific worker?
> 
> ##
> mod_status shows something like
> 
>   Srv   PID    Acc   M CPU   SS   Req Conn Child Slot     Client         
> VHost                         Request
>   0-0  21308 0/7/7   _ 0.00 15    5   0.0  0.01  0.01 02.client.de  
> apache.local GET /sample HTTP/1.0
>   1-0  21309 0/12/12 _ 0.02 38    1   0.0  0.02  0.02 01.client.de  
> apache.local GET /status HTTP/1.0
>   2-0  21310 0/6/6   _ 0.01 50    1   0.0  0.01  0.01 01.client.de  
> apache.local GET /status HTTP/1.0
>   3-0  21311 0/9/9   _ 0.01 57    1   0.0  0.02  0.02 01.client.de  
> apache.local GET /balancer-manager HTTP/1.0
>   4-0  21312 0/7/7   W 0.01 0     0   0.0  0.01  0.01 02.client.de  
> apache.local GET /status HTTP/1.0
>   5-0  21316 0/6/6   _ 0.01 34    1   0.0  0.01  0.01 01.client.de  
> apache.local GET /status HTTP/1.0
>   6-0  -     0/0/3   . 0.00 92717 0   0.0  0.00  0.00 127.0.0.1     
> apache.local OPTIONS * HTTP/1.0
>   7-0  -     0/0/5   . 0.00 92716 0   0.0  0.00  0.02 127.0.0.1     
> apache.local OPTIONS * HTTP/1.0
>   8-0  21503 0/7/7   _ 0.02 268   3   0.0  0.02  0.02 01.client.de  
> apache.local GET /balancer-manager HTTP/1.0
>   9-0  16383 0/3/3   _ 0.00 13    4   0.0  0.00  0.00 02.client.de  
> apache.local GET /sample/ HTTP/1.0
>   10-0 16384 0/4/4   _ 0.00 9     28  0.0  0.01  0.01 02.client.de  
> apache.local GET /sample/pages/sample.jsf HTTP/1.0
>   11-0 16385 0/3/3   _ 0.00 4     1   0.0  0.01  0.01 01.client.de  
> apache.local GET /status HTTP/1.0
> 
> ##
> mod_proxy_balancer shows something like
> 
>   Type Sticky Sessions Force Sticky Sessions Retries LB Method  Locking  
> Recover Wait Time Max Reply Timeouts
>   lb   True            False                 2       Request   Optimistic
> 60                0
> 
>   Good Degraded Bad/Stopped Busy Max Busy Next Maintenance
>   1    1        0           0    1        58/120
> 
>    Balancer Members [Hide]
> 
>            Name   Type       Host               Addr          Act  State 
> D F M V Acc Err CE RE  Wr   Rd  Busy Max Route RR Cd Rs
>   [E|R]  eco75st1 ajp13 app:18009 10.80.1.10:18009 ACT OK/IDLE 0 1 1 0 2 
> 0   0  0  1.1K 6.1K 0    1   jvm1       0/0
>   [E|R]  eco75st2 ajp13 app:28009 10.80.1.10:28009 DIS OK/IDLE 0 1 1 0 0 
> 0   0  0  0    0    0    0   jvm2       0/0
> 
> 
> Thanks for any ideas in advance.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 



-- 
Sander Temme
sctemme@xxxxxxxxxx
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux