cancel
Showing results for 
Search instead for 
Did you mean: 

HEALTH MONitor HELP

Qasim
Cirrus
Cirrus

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 1

boneyard
MVP
MVP

-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.