mackerelでmackerel-plugin-nginxを使ってみようと思ったらダメだった話
まずは、nginxにngx_http_status_moduleが入っているか調べてみよう。
/usr/logal/nginx/bin/nginx -V
入っていなかったら、ビルドしなおし(ngx_aws_authは私は、S3を使うため入れている)
./configure --prefix=/usr/local/nginx --with-http_ssl_module --without-http_uwsgi_module --with-http_realip_module --add-module=./ngx_aws_auth --with-ngx_http_status_module
がくり、http_status_moduleのオプションが有効でないというエラーがでたとおもったら・・・
This module is available as part of our commercial subscription.
という記述nginxの商用バージョンでないと利用できないということか・・・