Forum Discussion
Groupwise Health Monitor (Working curl needs to translate to Health Monitor)
Have you tried following this article which shows how to do a POST in an HTTP monitor?
https://support.f5.com/kb/en-us/solutions/public/1000/000/sol1033.html
- warbie_136205Sep 26, 2016Nimbostratus
Yea I have tried messing with the various types of Auth to no avail with the POST commands. I just was wondering if it was possible to use all those conditions in my health command.
- James_ThomsonSep 26, 2016Employee
Check this out for more details. I think it looks fine to me, you just need to format it correctly with all the carriage returns and line feeds. You can also remove the Postman token header.
https://devcentral.f5.com/articles/ltm-http-monitoring-with-post-request
I haven't tested this, but your send string may be something like this. Probably need to tweak.
POST /gw/webacc HTTP/1.1\r\nHost: host.domain.com\r\nUpgrade-Insecure-Requests: 1\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36\r\nContent-Type: application/x-www-form-urlencoded\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8\r\nReferer: [https://host.domain.com/gw/webacc](https://host.domain.com/gw/webacc)\r\nAccept-Encoding: gzip, deflate, br\r\nAccept-Language: en-US,en;q=0.8\r\nCookie: NJSCN=25fbad356fab718dc2879d5b4ad1d1d27d; NJSCN=dd7a66394fa370ffc5785ea8c1f59d85552d87e; CID=AgAAAPw0A649NbvE7V2utGQJGp8=; __utma=75229380.2040030237.1466698286.1467230192.1467294329.4; __utmz=75229380.1466797179.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); nmstat=1473434161716; _gat=1; _ga=GA1.2.2040030237.1466698286\r\nCache-Control: no-cache\r\n\r\nSecurity.Private.timeout=false&Timezone.Workstation.HasDaylight=1&Timezone.Workstation.IsDaylight=1&Timezone.Workstation.dstEndDate=2016-11-6&Timezone.Workstation.dstOffset=-240&Timezone.Workstation.dstStartDate=2016-3-13&Timezone.Workstation.gmtOffset=-240&Timezone.Workstation.offsetAvailable=1&Timezone.Workstation.stdOffset=-300&User.context=a2552e69f72accc5d0308124ab3a1748cdc2a6&User.id=username&User.interface=css&User.lang=en&User.password=password&action=User.Login&error=login&merge=webacc&submit=Login
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com