Forum Discussion
create http monitoring in case of status 500 or higher disable node or pool-member
Help
I need
Create http monitor:
POST 'http://192.168.0.100:8080/ClayRestApi/NMON40'
in case of status 500 or higher disable node or pool-member
cleiton_82 I believe what you are looking for is the following. Please note the line following the send string or receive string is what should be pasted into that respective box in the F5 GUI when configuring the health monitor
send string:
POST /ClayRestApi/NMON40 HTTP/1.0\r\n\r\n\r\nreceive string:
^HTTP\/1.[10]\s5[0-9][0-9]- cleiton_82Nimbostratus
I need the string with the parameters below:
curl --location --request POST 'http://192.168.0.100:8080/ClayRestApi/NMON40'\
--header 'Content-Type: application/json'\
--data-raw '{ "workflow": "modelSTUB",
"recordType": "NMON40",
"source": "SOURCE",
"dest": "PMAX",
"tranCode": "200",
"dataSpecificationVersion": "2.0",
"extendedHeader": "Via_Var",
"clientIdFromHeader": "U_ORO001_CR",
"recordCreationDate": "20230208",
"recordCreationTime": "190706",
"recordCreationMilliseconds": "016",
"gmtOffset": "-03.00"
}'cleiton_82 In this comment is it necessary to send creation information and time offset or just the other header fields?
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