Live data from Hacker News

Show HN: Top, but for Nginx

github.com

21–30 of 72 posts

Re: Show HN: Top, but for Nginx

#21

Monitoring capabilities are missing from Nginx on purpose. They are not and will never be available for free because there is "NGINX Plus". This is why I recommend switching to HAProxy.

I'd love to just "switch to X", but there is no X which provides all of the above in one great package: Static file serving, load-balanced proxying (TCP/HTTP), fine-grained caching, automatic Let's Encrypt update, API-based configuration (for dynamic upstreams etc), monitoring. Maybe there shouldn't be such a tool. For all other use-cases I go with nginx since it at least provides decent proxying, caching and static file serving.

Re: Show HN: Top, but for Nginx

#22

Monitoring capabilities are missing from Nginx on purpose. They are not and will never be available for free because there is "NGINX Plus". This is why I recommend switching to HAProxy.

HAProxy also has an 'enterprise' offering[1], what makes this different from nginx plus? [1] https://www.haproxy.com/products/haproxy-enterprise-edition/

Haproxy's full monitoring capabilities are available in the open source version. Nginx's are not. The stub_status module is very limited. Compare https://www.haproxy.com/blog/exploring-the-haproxy-stats-pag... with https://nginx.org/libxslt/en/docs/http/ngx_http_stub_status_...

Re: Show HN: Top, but for Nginx

#23
post #20

> This tool is a rewrite of ngxtop to make it more easily installed and hopefully quicker. Why make a whole new tool with limitations instead of improving the existing one?

Original maintainers of a project probably wouldn't just accept a PR of a complete rewrite.

Re: Show HN: Top, but for Nginx

#24
post #15

Hmmm... looks like nothing more than a weblog analyzer. Someone correct me if I'm wrong. It's not "real time" since it can only report on what the web-server has done not what it is doing . AFAIK, nginx has nothing like Apache httpd's mod_status... at least, nothing open source.

Open source nginx has stub_status. It's just not very (very not) featureful.

https://nginx.org/en/docs/http/ngx_http_stub_status_module.h...

Re: Show HN: Top, but for Nginx

#26
Interesting, but I would have thought "top" for nginx would be a tool that shows you all the connections, paths, and resource usage live, like the "top" command. Is there a tool that does that?

Re: Show HN: Top, but for Nginx

#28
post #21

Monitoring capabilities are missing from Nginx on purpose. They are not and will never be available for free because there is "NGINX Plus". This is why I recommend switching to HAProxy.

I'd love to just "switch to X", but there is no X which provides all of the above in one great package: Static file serving, load-balanced proxying (TCP/HTTP), fine-grained caching, automatic Let's Encrypt update, API-based configuration (for dynamic upstreams etc), monitoring. Maybe there shouldn't be such a tool. For all other use-cases I go with nginx since it at least provides decent proxying, caching and static…

Do you know if it's the same with Openresty?

Re: Show HN: Top, but for Nginx

#29
post #21

Monitoring capabilities are missing from Nginx on purpose. They are not and will never be available for free because there is "NGINX Plus". This is why I recommend switching to HAProxy.

I'd love to just "switch to X", but there is no X which provides all of the above in one great package: Static file serving, load-balanced proxying (TCP/HTTP), fine-grained caching, automatic Let's Encrypt update, API-based configuration (for dynamic upstreams etc), monitoring. Maybe there shouldn't be such a tool. For all other use-cases I go with nginx since it at least provides decent proxying, caching and static…

Correct me if I’m wrong, but doesn’t Caddy 2 do almost all if that?

Re: Show HN: Top, but for Nginx

#30
post #15

Hmmm... looks like nothing more than a weblog analyzer. Someone correct me if I'm wrong. It's not "real time" since it can only report on what the web-server has done not what it is doing . AFAIK, nginx has nothing like Apache httpd's mod_status... at least, nothing open source.

If you're in a Kubernetes environment, the NGINX Ingress Controller has a pretty decent set of realtime metrics: https://kubernetes.github.io/ingress-nginx/user-guide/monito...

Which presumably means those metrics are available in the OSS edition somehow...

Post reply on HN