Forum Discussion
HankLiu_159320
Nimbostratus
Oct 06, 2014What is the proper way to create an HTTP Monitor and set the alias service port to 80 via iControl API?
With iControl API, what is the proper way to create an HTTP Monitor and set the alias service port to 80? Can someone provide an example code? My automation currently will create the monitor with alias port, but the alias port will not override the pool member port. Thanks!
1 Reply
- Arnaud_Lemaire
Employee
With REST API you can use that :
{ "name": "my_http_forced_alias_80", "adaptive": "disabled", "adaptiveDivergenceType": "relative", "adaptiveDivergenceValue": 25, "adaptiveLimit": 200, "adaptiveSamplingTimespan": 300, "defaultsFrom": "/Common/http", "destination": "*:80", "interval": 5, "ipDscp": 0, "manualResume": "disabled", "reverse": "disabled", "send": "GET /\r\n", "timeUntilUp": 0, "timeout": 16, "transparent": "disabled", "upInterval": 0 }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects