Chapter 6. Monitoring Nginx
After reading this chapter you will be able to set up proper monitoring for your Nginx installation using the features freely available as part of base Nginx distribution and several of the more popular monitoring and alerting systems available on the market.
You will also get acquainted with an advanced monitoring solution that is included in the Nginx Plus subscription package, which the makers of Nginx sell as a commercial service.
Knowing what is happening to your web server is the first step towards fixing and preventing any problems. Setting up monitoring and alerting is one of the essential steps in any production deployment, and Nginx web servers are not the exception here. Experienced web administrators will never feel calm enough until they have real-time insight into the performance and load indicators.
There are several sources of data for your monitoring system provided by Nginx. First, there are logs, which you may configure up to your preferences...