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

doudoudie's avatar
doudoudie
Icon for Nimbostratus rankNimbostratus
Apr 21, 2022

How to get a number of up backends for a specific upstream from nginx plus api

We managed to get a count number of live backends for a specific upstream for prometheus blackbox checks.

Wonder if there's a api that we can use to archive this. for example.  there's a upstream has 3 backends and we want to get a result like up:3 or something similar from api. Please share it if there's one.