tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lorenzo Maurizi - C.S.I.A. UniMC" <lorenzo.maur...@unimc.it>
Subject RE: Problem with mod_jk JKStatus: where is the worker "state" property?
Date Fri, 30 Jan 2015 12:50:05 GMT

>Hi Lorenzo,

>Am 30.01.2015 um 12:22 schrieb Lorenzo Maurizi - C.S.I.A. UniMC:
>> Dear All,
>>
>> I need help on an issue I'm facing. I've tried to find an answer with 
>> the online documentation but I didn't succeed.
>>
>> I am trying to fix a munin plugin for monitoring the mod_jk ajp13 
>> connector for apache.
>> The mod_jk is version 1.2.37 (the default version for the Debian 
>> Wheezy package).
>> The munin plugin reads the http://localhost/jk-status?mime=prop output 
>> and searches for the worker.<workername>.state value.
>>
>> But my jk-status "mime=prop" output does not contains that "state" 
>> row, while the State is correctly shown on HTML output of the jk-status.
>>
>> I looked at the changelog of mod-jk trying to find something about a 
>> change in the output of JKStatus, without success.
>>
>> Is it a bug of mod_jk ver. 1.2.37?

>state is only printed of the worker is a member of a load balancer. 
>Otherwise there is no such thing as state. It is good practise to wrap even a single worker
in a load balancer because of its enhanced failure detection and reporting. Even if you don't
have a second >worker to fail over.

>HTH
>Rainer

Thank you very much for your help, I added a loadbalancer worker and it now works as expected!

Best regards!
Lorenzo M.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message