Forum Discussion
doudoudie
Apr 21, 2022Nimbostratus
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 ha...
Nikoolayy1
May 05, 2022MVP
Hello,
Have you looked at this http://nginx.org/en/docs/http/ngx_http_api_module.html#example ? You can use /http/upstreams/ /stream/upstreams/
/http/server_zones/
but this is a commecial module.
Also some extra info about server zones and status zones as they are need for you get the info through the API:
http://nginx.org/en/docs/http/ngx_http_status_module.html#status_zone
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects