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

Fabrizio1366's avatar
Fabrizio1366
Icon for Altostratus rankAltostratus
Aug 30, 2024

HTTPS Health monitor with post is failing...

Hello Guys,

I trying to do an https monitor with post, with curl from TMSH is working since with standard https monitor is failing

 

I followed other discussion about that unsuccessfull.

This is the working curl:

[keli078@cdm-sf-lb01:Active:Changes Pending] ~ # rdexec 50 curl -k 'https://sflnx006058.utenze.bankit.it:8088/services/collector/raw' --header 'Authorization: Splunk ab4cdbb0-e322-4a75-a182-668e9f7f30ed' --header 'Content-Type: application/json' --data 'lb-probe'

{"text":"Success","code":0}

[keli078@cdm-sf-lb01:Active:Changes Pending] ~ #

 

This is my https monitor:

send "POST /services/collector/raw HTTP/1.1\r\nAuthorization: Splunk ab4cdbb0-e322-4a75-a182-668e9f7f30ed\r\nContent-Type: application/json\r\n\r\n <LB_PROBE>"

recv Success

 

What I wrong?

 

Many thanks for support.

Fabrizio

 

 

1 Reply

  • I managed to find the fix, it need Content-Length to send body (payload) correctly. Thanks.