Forum Discussion

SameerK_342732's avatar
SameerK_342732
Icon for Nimbostratus rankNimbostratus
Dec 28, 2017

Can i have two GET requests configured in "SEND String" of HTTP Monitor?

Can i fullfill below task using single HTTP monitor?

 

create a new health monitor https_SAM

 

Partition : PARTITION_SAM

 

Interval : 5 seconds Timeout : 16 seconds

 

SEND String =

 

GET /card/rose/state HTTP/1.1\r\nUser-Agent: F5\r\nHost: abc.xyz.com:22443\r\nAccept: /\r\nConnection : Close\r\n\r\n

 

GET /card/life/monitoring HTTP/1.1\r\nUser-Agent: F5\r\nHost: abc.xyz.com:22443\r\nAccept: /\r\nConnection : Close\r\n\r\n

 

Receive String = HTTP/1.1 200 OK

 

  • can't you create 2 separate health monitors and assign them to pool? you can choose whether you want they all pass or either one of them to mark pool member up.

     

  • can't you create 2 separate health monitors and assign them to pool? you can choose whether you want they all pass or either one of them to mark pool member up.

     

    • SameerK_342732's avatar
      SameerK_342732
      Icon for Nimbostratus rankNimbostratus

      Thanks nitaas for the suggestion. I would do the same; but just wanted to know if i can have two GET requests configured via one monitor or not?

       

    • Srini_87152's avatar
      Srini_87152
      Icon for Cirrostratus rankCirrostratus

      You cant configure 2 get from signle monitor, all you can do configure 2 monitors and add to pool.

       

      Thx Srini

       

  • can't you create 2 separate health monitors and assign them to pool? you can choose whether you want they all pass or either one of them to mark pool member up.

     

    • SameerK_342732's avatar
      SameerK_342732
      Icon for Nimbostratus rankNimbostratus

      Thanks nitaas for the suggestion. I would do the same; but just wanted to know if i can have two GET requests configured via one monitor or not?

       

    • Srini_87152's avatar
      Srini_87152
      Icon for Cirrostratus rankCirrostratus

      You cant configure 2 get from signle monitor, all you can do configure 2 monitors and add to pool.

       

      Thx Srini

       

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    Not that I understand why you'd object, but if you don't want 2 monitors, you could use an external monitor and have as many GET requests as you like via curl...