Forum Discussion

Kalai_106820's avatar
Kalai_106820
Historic F5 Account
Feb 22, 2012

HTTP monitors

When I use a custom http monitor with the below send strings, I'm seeing a error message in /var/log/bigdlog and my pool members are made down though the http service is up in those ports.

 

 

Case:1 Simple HTTP/0.9 type:

 

------------------------------

 

send "GET /\r\n"

 

 

ltm monitor http test_http {

 

defaults-from http

 

interval 5

 

send "GET /\r\n"

 

time-until-up 0

 

timeout 16

 

}

 

 

bigdlog error:

 

--------------

 

2012-02-23 03:51:22.786483: ID 721 :(_send_active_service_ping): writing [ addr=::ffff:16.186.78.60:13081 srcaddr=::ffff:16.157.132.44:24456 ] send=GET /\x0d\x0a

 

 

2012-02-23 03:51:22.786561: ID 721 :(_send_active_service_ping): sent ping [ addr=::ffff:16.186.78.60:13081 srcaddr=::ffff:16.157.132.44:24456 ]

 

2012-02-23 03:51:22.786651: ID global:(_main_loop): about to select for 0.100000s

 

2012-02-23 03:51:22.788243: ID 721 :(_main_loop): rfd selected [ addr=::ffff:16.186.78.60:13081 srcaddr=::ffff:16.157.132.44:24456 fd=10 pend=0 ]

 

2012-02-23 03:51:22.788339: ID 721 :(_recv_active_service_ping): reading [ addr=::ffff:16.186.78.60:13081 srcaddr=::ffff:16.157.132.44:24456 ]

 

2012-02-23 03:51:22.788404: ID 721 :(_recv_active_service_ping): read failed [ addr=::ffff:16.186.78.60:13081 srcaddr=::ffff:16.157.132.44:24456 ]

 

 

 

Case2: HTTP/1.1 type:

 

---------------------------

 

send "GET /\r\n HTTP/1.1\r\nConnection: Close\r\nHost: \r\n\r\n"

 

 

In this case, I'm getting success code when using ne, but it fails when I use in monitor:

 

 

[admin@selbigip1:Active] ~ echo -ne "GET /\r\n HTTP/1.1\r\nConnection: Close\r\nHost: \r\n\r\n" | nc 16.186.78.60 13082

 

[admin@selbigip1:Active] ~ echo $?

 

0

 

 

ltm monitor http test_http {

 

defaults-from http

 

interval 5

 

send "GET /\r\n HTTP/1.1\r\nConnection: Close\r\nHost: \r\n\r\n"

 

time-until-up 0

 

timeout 16

 

}

 

 

error log:

 

--------

 

2012-02-23 03:56:28.232126: ID 721 :(_send_active_service_ping): writing [ addr=::ffff:16.186.78.60:13081 srcaddr=::ffff:16.157.132.44:47568 ] send=GET /\x0d\x0a HTTP/1.1\x0d\x0aConnection: Close\x0d\x0aHost: \x0d\x0a\x0d\x0a

 

 

2012-02-23 03:56:28.232238: ID 721 :(_send_active_service_ping): sent ping [ addr=::ffff:16.186.78.60:13081 srcaddr=::ffff:16.157.132.44:47568 ]

 

2012-02-23 03:56:28.232339: ID global:(_main_loop): about to select for 0.100000s

 

2012-02-23 03:56:28.233827: ID 721 :(_main_loop): rfd selected [ addr=::ffff:16.186.78.60:13081 srcaddr=::ffff:16.157.132.44:47568 fd=10 pend=0 ]

 

2012-02-23 03:56:28.233945: ID 721 :(_recv_active_service_ping): reading [ addr=::ffff:16.186.78.60:13081 srcaddr=::ffff:16.157.132.44:47568 ]

 

2012-02-23 03:56:28.234040: ID 721 :(_recv_active_service_ping): read failed [ addr=::ffff:16.186.78.60:13081 srcaddr=::ffff:16.157.132.44:47568 ]

 

 

 

Even, I tried with different send strings, but no use. Kindly anyone let me know where I'm doing wrong?

7 Replies

  • didn't you get any response when sending GET using nc?

    mine is 10.2.3

    [root@ve1023:Active] config  b version|grep -iA 1 version
    BIG-IP Version 10.2.3 112.0
    Final Edition
    
    [root@ve1023:Active] config  echo -ne "GET /\r\n HTTP/1.1\r\nConnection: Close\r\nHost: \r\n\r\n" |nc 200.200.200.101 80
    
    
    
    This is 101 host.
    
    
    
  • Kalai_106820's avatar
    Kalai_106820
    Historic F5 Account
    And, we have a server application running on the said ports 13081/82.And, I dont think I'll get a response for a 'GET /' request.

     

     

    And, the receive string for my http monitor is none, so this should make the pool member up, correct? It's my understanding, I may wrong here.

     

     

  • Kalai_106820's avatar
    Kalai_106820
    Historic F5 Account
    And, we have a server application running on the said ports 13081/82.And, I dont think I'll get a response for a 'GET /' request.

     

     

    And, the receive string for my http monitor is none, so this should make the pool member up, correct? It's my understanding, I may wrong here.

     

     

  • And, the receive string for my http monitor is none, so this should make the pool member up, correct?yes, you are correct. anyway, what i suspect is connetion might be reseted, so pool will be marked down.

     

     

    And, we have a server application running on the said ports 13081/82.And, I dont think I'll get a response for a 'GET /' request. have you tried curl or telnet? did you get response?

     

     

    curl -i http://16.186.78.60:13081

     

     

    telnet 16.186.78.60 13081

     

    GET / HTTP/1.1

     

    Host:

     

    Connection: Close
  • Dears, I have a viprion box, I configured an internal vlan , and a pool includes a web server from this vlan ....and its pingable from the viprion , the problem is that I configured HTTP monitor but it shows that the web server is down although that from the SSH of the viprion I can telnet the web server in port 80 !!!!!!!!!!!!!!!!!!!!!!!!!!!!