plugins apache設定

apacheのserver-statusを表示させるためのモジュールインストール

cd /usr/ports/www/p5-LWP-UserAgent-Determined
make install clean

apacheのhttpd.conf編集

ee /usr/local/etc/apache22/httpd.conf下記のところ
# Real-time info on requests and configuration
Include etc/apache22/extra/httpd-info.conf ←コメント解除

ee /usr/local/etc/apache22/extra/httpd-info.conf
ExtendedStatus On ←に変更

apache再起動

/usr/local/etc/rc.d/apache22 restart

munin-node再起動

/usr/local/etc/rc.d/munin-node restart

apache関連の結果が得られるか確認

/usr/local/sbin/munin-run apache_accesses
accesses80.value 24286

/usr/local/sbin/munin-run apache_processes
busy80.value 1
idle80.value 9
free80.value 246

/usr/local/sbin/munin-run apache_volume
volume80.value 26596352

ブラウザで確認

mu-apache

This entry was posted in FreeBSD. Bookmark the permalink.