4 ms·
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 recom
by maxmalysh 6y ago
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.
- cinericius 6y agoHAProxy also has an 'enterprise' offering[1], what makes this different from nginx plus? [1] https://www.haproxy.com/products/haproxy-enterprise-edition/ https://www.haproxy.com/products/haproxy-enterprise-edition/
- sciurus 6y agoHaproxy'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-page/ https://www.haproxy.com/blog/exploring-the-haproxy-stats-pag... with https://nginx.org/libxslt/en/docs/http/ngx_http_stub_status_module.html https://nginx.org/libxslt/en/docs/http/ngx_http_stub_status_...
- cyberpunk 6y agoWhat exactly do you need to monitor on your nginxes? We collect logs, scrape metrics from the nginx pods and... that's enough..
- shockinglytrue 6y agoWish all distros shipped https://github.com/vozlt/nginx-module-vts https://github.com/vozlt/nginx-module-vts by default. It's a minor pain to self-build
- throwaway888abc 6y agoThis is cool!
- rcostin2k2 6y agoOver a long period, under a heavy usage, it crashed my nginx. Unfortunately I had to take it out...
- heipei 6y agoI'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.
- kawsper 6y agoDo you know if it's the same with Openresty?
- brightball 6y agoCorrect me if I’m wrong, but doesn’t Caddy 2 do almost all if that?
- 411111111111111 6y agoYou mean the software which wouldn't start when let's encrypts acme server was offline and which developers said this is working as intended? I mean, I'd definitely encourage people to use it for hobby projects, but if that's how the developers see their software, I would never trust them with anything serious.
- mholt 6y agoSomeone's a little out of the loop.
- 411111111111111 6y agoI know it was "fixed" after thousands of people chimed in. Nonetheless, I still wouldn't be able to trust developers who think that's reasonable. if it had been an error and unintentional i wouldn't have been worried. mistakes happen to everyone. but it was an actual design decision. Without serious code review i'd be too worried the developers had any other bright ideas.
- markstos 6y agoAnd why others would recommend Nginx Plus.
- drngdds 6y agoIf you can afford to pay four figures per instance per year, yeah
- mklepaczewski 6y agoI always wonder - why no one from open source community has created better stats module? Is there something in the license that prohibits creation of modules that overlap with Nginx Plus?
- mekster 6y agoI would assume it's the lack of dynamic module support for nginx and you need to compile your own build even if someone creates a module.
- mklepaczewski 6y agoThat's true for any functionality provided by modules and there's plethora of them. Also, Nginx has support for dynamic modules. Recompiling Nginx always worked out of the box for me too, so it's not like a big issue. One thing that comes to my mind is that maybe this can't be solved by a module due to missing API in open source Nginx.