监控NGINX

1、添加模板

2、修改NGINX配置文件,并重启NGINX服务

开启状态检测开关

        location /basic_status {
            stub_status;
            access_log off;
        }

        location / {
            root   html;
            index  index.html index.htm;
        }

3、测试