For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Qasim's avatar
Qasim
Icon for Cirrostratus rankCirrostratus
Mar 20, 2020

HEALTH MONitor HELP

Hi,

 

I need help with writing a health monitor based on the below curl command. the below response is only displayed when -L is in the command. 

curl -L http://x.x.x.x:8101/oss2/customer

 

 

<!doctype html>

<html ng-app="oss.auth" ng-strict-di>

<head>

  <meta charset="utf-8">

  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <meta name="viewport" content="width=device-width, initial-scale=1">

 

  <title idle-disabled="true">MyHPF Unavailable</title>

  <base href="/oss2/customer/">

  

 

  <meta name="_csrf" content="f1fc9077-ed0b-4974-9871-4d77194f9a49"/>

  <meta name="_csrf_header" content="X-CSRF-TOKEN"/>

 

  <!-- Bootstrap -->

 

      <script src="..XXXXXXXX

      <script src="..XXXXXXXXXX

 

</head>

 

<body ng-cloak ng-controller="MainController" autoscroll="true">

<hc-backdrop></hc-backdrop>

</body>

 

 

the client wants the pool to show up based on "hp" or "myhpf" in the above response.

 

will really appreciate your help with this.

 

Regards,

1 Reply

  • -L in curl means it follow a redirect, so you can try with -v to see what the final destination is.

     

    that one you can then use in a regular HTTP health monitor.