Munin de Apache
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*[技術ブログvol.31] Muninで80と443を監視するのは一筋縄で...
http://www.denet.ad.jp/technology/2015/05/vol31-munin8044...
*muninで443ポートを監視する意味はない [#ffe4f48b]
https://kumachan.biz/2014/08/03_2053/4130/
----
*Munin de Apache [#i88997ce]
FreeBSD 10.2-RELEASE Apache24
/usr/local/etc/munin/plugins # munin-node-configure -sugg...
Plugin | Used | Suggestions
------ | ---- | -----------
amavis | no | no
apache_accesses | no | no
apache_processes | no | no
apache_volume | no | no
を、
Plugin | Used | Suggestions
------ | ---- | -----------
amavis | no | no
apache_accesses | yes | yes
apache_processes | yes | yes
apache_volume | yes | yes
# munin-run apache_accesses
accesses80.value 99
にする。
*Apache24 settings [#gc4875aa]
** /usr/local/etc/apache24/httpd.conf [#ha0dccd1]
LoadModule status_module libexec/apache24/mod_status.so
の一行があることを確認。
** /usr/local/etc/apache24/Includes [#k621dc99]
*プラグイン登録 [#a3378896]
piano2nd# munin-node-configure --shell | sh
**以下を作成 [#l1d8e2bd]
server-status.conf
<Location /server-status>
SetHandler server-status
# Allow from 127.0.0.1
Require local
</Location>
ExtendedStatus On
# Allow remote server configuration reports, with the UR...
# http://servername/server-info (requires that mod_info...
# Change the ".example.com" to match your domain to enab...
#
<Location /server-info>
SetHandler server-info
Require local
# Allow from 127.0.0.1
Require host .smb.net
# Allow from .smb.net
</Location>
** Apache and Munin restart [#e4fef7ad]
# Apachectl restart
# /usr/local/etc/rc.d/munin-node restart
/usr/local/etc/rc.d/munin-node restart && apachectl rest...
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*[技術ブログvol.31] Muninで80と443を監視するのは一筋縄で...
http://www.denet.ad.jp/technology/2015/05/vol31-munin8044...
*muninで443ポートを監視する意味はない [#ffe4f48b]
https://kumachan.biz/2014/08/03_2053/4130/
----
*Munin de Apache [#i88997ce]
FreeBSD 10.2-RELEASE Apache24
/usr/local/etc/munin/plugins # munin-node-configure -sugg...
Plugin | Used | Suggestions
------ | ---- | -----------
amavis | no | no
apache_accesses | no | no
apache_processes | no | no
apache_volume | no | no
を、
Plugin | Used | Suggestions
------ | ---- | -----------
amavis | no | no
apache_accesses | yes | yes
apache_processes | yes | yes
apache_volume | yes | yes
# munin-run apache_accesses
accesses80.value 99
にする。
*Apache24 settings [#gc4875aa]
** /usr/local/etc/apache24/httpd.conf [#ha0dccd1]
LoadModule status_module libexec/apache24/mod_status.so
の一行があることを確認。
** /usr/local/etc/apache24/Includes [#k621dc99]
*プラグイン登録 [#a3378896]
piano2nd# munin-node-configure --shell | sh
**以下を作成 [#l1d8e2bd]
server-status.conf
<Location /server-status>
SetHandler server-status
# Allow from 127.0.0.1
Require local
</Location>
ExtendedStatus On
# Allow remote server configuration reports, with the UR...
# http://servername/server-info (requires that mod_info...
# Change the ".example.com" to match your domain to enab...
#
<Location /server-info>
SetHandler server-info
Require local
# Allow from 127.0.0.1
Require host .smb.net
# Allow from .smb.net
</Location>
** Apache and Munin restart [#e4fef7ad]
# Apachectl restart
# /usr/local/etc/rc.d/munin-node restart
/usr/local/etc/rc.d/munin-node restart && apachectl rest...
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: