05-07-2015 12:44 AM
Hi,
We have a problem when we configure a probe with expect regex. When the server answer us status shutdown for example, the probe always remain success. Whats is the problem?? we changed expect regex but always happen the same. success
probe http PROBE_HTTP_000029
port 8024
passdetect interval 10
receive 2
request method get url /Status/Check
open 2
expect regex "STATUS=OK"
probe : PROBE_HTTP_000029
type : HTTP
state : ACTIVE
----------------------------------------------
port : 8024 address : 0.0.0.0
addr type : - interval : 15 pass intvl : 10
pass count: 3 fail count: 3 recv timeout: 2
------------------ probe results ------------------
associations ip-address port porttype probes failed passed health
------------ ----------------------+----+--------+------+------+------+------
serverfarm : ServerFarm_000029_008_M22
real : Member_000029_008_M01[9400]
10.101.2.68 8024 PROBE 18609 6743 11866 SUCCESS
real : Member_000029_008_M02[9400]
10.101.2.126 8024 PROBE 16600 716 15884 SUCCESS
thanks in advance.
05-07-2015 04:40 AM
Hi Rafael, can you kindly replace the url with the full text ie: http://server-name:port/.... /Status/Check and let me know the results using a show probe PROBE_HTTP_000029 detail
05-07-2015 07:32 AM
Hi Tim,
TI departament are the tested. The url is: http://127.0.0.1:8024/Status/Check
and the sh probe PROBE_HTTP_000029 detail
probe : PROBE_HTTP_000029
type : HTTP
state : ACTIVE
description :
----------------------------------------------
port : 8024 address : 0.0.0.0
addr type : - interval : 15 pass intvl : 10
pass count: 3 fail count: 3 recv timeout: 2
http method : GET
http url : /Status/Check
conn termination : GRACEFUL
expect offset : 0 , open timeout : 2
regex cache-len : 0
expect regex : ok
send data : -
------------------ probe results ------------------
associations ip-address port porttype probes failed passed health
------------ ----------------------+----+--------+------+------+------+------
serverfarm : ServerFarm_000029
real : Member_000029_008_M01[9400]
10.101.2.68 8024 PROBE 20213 6743 13470 SUCCESS
Socket state : CLOSED
No. Passed states : 18 No. Failed states : 17
No. Probes skipped : 0 Last status code : 200
No. Out of Sockets : 0 No. Internal error: 0
Last disconnect err : -
Last probe time : Thu May 7 14:30:19 2015
Last fail time : Thu May 7 07:32:49 2015
Last active time : Thu May 7 07:33:45 2015
real : Member_000029_008_M02[9400]
10.101.2.126 8024 PROBE 18204 716 17488 SUCCESS
Socket state : CLOSED
No. Passed states : 9 No. Failed states : 8
No. Probes skipped : 0 Last status code : 200
No. Out of Sockets : 0 No. Internal error: 0
Last disconnect err : -
Last probe time : Thu May 7 14:30:17 2015
Last fail time : Thu May 7 07:32:47 2015
Last active time : Thu May 7 07:33:43 2015
Thanks
05-09-2015 03:29 PM
HI Rafael,
A quick pcap would show what server is sending. If ACE is getting STATUS=OK, it will pass the probe. Unfortunately, there is no way other than pcap to see what is server sending and that should clear things out.
Regards,
Kanwal
Note: Please mark answers if they are helpful.
05-13-2015 12:37 AM
Hi Kanwal,
Our IT departament captured a pcap in his linux computer and they found the problem. Our configure was fine.
They configured the probe with an http server (lighttpd) instead of the java. The problem was Java.
Thanks for your help.
Regards.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide