Automate pool disablement

Hello everyone,
I’m new here and would like to ask a question.

I need to automate the disabling of a pool, but I don’t know what alternative to take, whether to create a monitor or perform this task through a script. If anyone knows how to run it, it would be a great help

Depends on who’s doing the disabling, how and when. Could you please tell me a bit more of the background?

If you want to do something simple and let the application side doing the disabling a disable string is nice.
If you are doing it via a pipeline code would probably work better.

Kind regards,
Patrik

You can do the same with the Ansible script.

Hello, in the end I will use a monitor to a test URI, if it does not give a 200 OK, it will lower the node until it gives a 200.