For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

NicoN's avatar
NicoN
Icon for Nimbostratus rankNimbostratus
Jul 11, 2024

Activate REST-API for health-checks

Hi all, I'm fairly new to the F5 and I need some help.

Some VIP's have configured health-checks to monitor if the Frontends are reachable (Iwas told).
Now I want to create a "Service" - basically a python script - that builds API-calls and send these via REST-API to the F5 Load-Balancer in order to get the status of the health-checks.

But so far I didn't had any luck accessing the REST-API. So I begin to wonder if it is acltive/enabled at all.
My curl requests return a 403 although user/pass is correct. I can access the GUI without a problem.

How can I check if the API has been enabled ?
And if it not running, how can it be enabled ? 

2 Replies

  • The following article might be of use but by default it is on. I would ensure you're pointing to the management IP of the F5 and that you have allowed requests from the device your call is originating from.

    https://my.f5.com/manage/s/article/K50035502