鈍足ランナーのIT日記

走るのが好きな5流のITエンジニアのブログ。

趣味の範囲は広いけど、どれも中途半端なクソブロガー楽しめるWebアプリを作ってあっと言わせたい。サーバーサイドPerl(Mojolicious)、クライアントサイドVue.js。Arduinoにも触手を伸ばす予定。

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の商用バージョンでないと利用できないということか・・・