Forum Discussion
Daniel_Wolf
Jan 30, 2021MVP
I successfully tested with this monitor, assuming that "label":"dev-daisy-40001.bvk.int:443" is not relevant for the health status but the key health is either 0 or 1.
See K5917: Using regular expressions in a health monitor receive string
ltm monitor https mon_api_json_https {
adaptive disabled
defaults-from https
interval 5
ip-dscp 0
password ********
recv (health.*0)
recv-disable (health.*1)
send "GET /api/status.json HTTP/1.1\r\nHost: localhost\r\nConnection: Close\r\n\r\n"
time-until-up 0
timeout 16
username user1
}
Best of luck.