In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
This article is a detailed introduction to "how to use the online activity monitoring function of Nginx Plus". The content is detailed, the steps are clear, and the details are properly handled. I hope this article "how to use the online activity monitoring function of Nginx Plus" can help you solve your doubts. Let's go deeper and learn new knowledge together with the ideas of Xiaobian.
Nginx Plus now introduces a real-time activity monitoring interface that provides key load and performance monitoring. Connecting stats to live dashboards and third-party monitoring tools is easy with a simple restful json interface.
nginx plus
Details: Online Activity Monitoring- json feed
To enable this status prompt in nginx plus, simply add status handling to the server configuration:
The copy code is as follows:
location = /status {
allow 192.168.0.0/16; # permit access from local network
deny all; # deny access from everywhere else
status;
}
If you request/status (or any uri matching the location group), nginx plus will respond with a json document containing the current active data:
Basic version, startup duration and identification information;
Total connections and requests;
Requests and corresponding counts for each status area;
Request and response technology for each upstream server, as well as health checks and startup time statistics;
Tabulated data for each named cache area.
You can continue to extract subsets of data, or use restfull to get a single data point:
Details: Life Cycle Monitoring-Web
Nginx plus comes with a simple web page (/usr/share/nginx/html/status.html) to poll for status information and display it in a simple table. You can enable this request using the following configuration http://host:8080/status.html:
The copy code is as follows:
server {
listen 8080;
root /usr/share/nginx/html;
location = /status {
status;
}
}
Read here, this article "How to use Nginx Plus online activity monitoring function" article has been introduced, want to master the knowledge points of this article also need to be used by yourself to understand, if you want to know more about the relevant content of the article, welcome to pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.