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