マカレル使うか
以前インストールして全く使っていなかったのでGratanリリースしたので
監視して見ますか。
mackerel-agentのインストール
nginxのビルド
cd nginx-x.x.x // ソースを解凍したディレクトリ ./configure --prefix=/usr/local/nginx --with-http_ssl_module --without-http_uwsgi_module --with-http_realip_module --add-module=./ngx_aws_auth --with-debug --with-http_stub_status_module make make install
nginx_statusの有効化
nginx.confの編集
location /nginx_status { stub_status on; access_log off; allow 127.0.0.1; deny all; }