We could get the jk status xml result by given "jk:member errors" at XML Node field. After we upgraded to version 9.2.0.2125, it does not work anymore... The sensor responses "'jk' is an undeclared namespace. Line 1, position 40."
<jk:status xmlns:jk="http://tomcat.apache.org"> <jk:server name="web-frontend1.marah.cc" port="80"/> <jk:time datetime="20120126103733" tz="PST" unix="1327603053"/> <jk:software web_server="Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8o DAV/2 mod_jk/1.2.30" jk_version="mod_jk/1.2.30"/> <jk:balancer name="loadbalancer" type="lb" sticky_session="True" sticky_session_force="False" retries="1" recover_time="60" error_escalation_time="30" max_reply_timeouts="0" method="Sessions" lock="Pessimistic" member_count="2" good="2" degraded="0" bad="0" busy="0" max_busy="29" map_count="4" time_to_maintenance_min="49" time_to_maintenance_max="111" last_reset_at="1327564706" last_reset_ago="38347"> <jk:member name="test" type="ajp13" host="10.0.0.1" port="8009" address="10.0.0.1:8009" connection_pool_timeout="0" ping_timeout="10000" connect_timeout="10000" prepost_timeout="0" reply_timeout="10000" connection_ping_interval="100" retries="2" recovery_options="1" max_packet_size="8192" activation="ACT" lbfactor="8" route="db-mysql1" redirect="" domain="db-mysql1" distance="0" state="OK" lbmult="5" lbvalue="329" elected="96037" errors="15" client_errors="0" reply_timeouts="0" transferred="80872338" read="3166284417" busy="0" max_busy="25" connected="90" time_to_recover_min="0" time_to_recover_max="0" last_reset_at="1327564706" last_reset_ago="38347"/> <jk:map id="1" server="www.test.com" uri="/*" type="Wildchar" source="JkMount" reply_timeout="-1" fail_on_status="" active="" disabled="" stopped="" use_server_errors="0"/> <jk:map id="2" server="www.test.com" uri="/" type="Exact" source="JkMount" reply_timeout="-1" fail_on_status="" active="" disabled="" stopped="" use_server_errors="0"/> <jk:map id="3" server="www.test.us [_default_:443]" uri="/*" type="Wildchar" source="JkMount" reply_timeout="-1" fail_on_status="" active="" disabled="" stopped="" use_server_errors="0"/> <jk:map id="4" server="www.test.us [_default_:443]" uri="/" type="Exact" source="JkMount" reply_timeout="-1" fail_on_status="" active="" disabled="" stopped="" use_server_errors="0"/> </jk:balancer> <jk:result type="OK" message="Action finished"/> </jk:status>
Add comment