PablitoFP
Jan 18, 2019Nimbostratus
Please help with monitor doing a post!!!
Hi guys, I need your help please. I need to configure a monitor to do a post and get a 204, but it is not working. If I do a curl like this, I get the http 204 that I am looking:
curl -X POST -sL '[http://192.168.10.131/api/rest/checks/v0/void](http://192.168.10.131/api/rest/checks/v0/void)' -H 'Authorization: Basic ZjUZjjU=' -H 'Content-Type: application/json' -d '{"data": ""}' -m 30 -v
Below the monitor I configured and it is not working.
ltm monitor http TEST_POST {
adaptive disabled
defaults-from http
destination *:*
interval 3
ip-dscp 0
recv "HTTP/1.1 (204)"
recv-disable none
send "POST /api/rest/checks/v0/void HTTP/1.1\r\nHost: 192.168.10.131\r\nAuthorization: Basic ZjUZjjU= \r\n"
time-until-up 0
timeout 10
Thanks in advance and sorry in advance if the mistake is too silly.