Dondariadmin (トーク | 投稿記録) (ページの作成:「== Fedora18のMunin2にhttpdの監視を追加する手順メモ == === 環境 === * Fedora18 * Apache 2.4.3 * Munin 2.0 uname -r 3.7.6-201.fc18.x86_64 === 状態を...」) |
Dondariadmin (トーク | 投稿記録) |
||
(同じ利用者による、間の1版が非表示) | |||
1行目: | 1行目: | ||
== Fedora18のMunin2にhttpdの監視を追加する手順メモ == | == Fedora18のMunin2にhttpdの監視を追加する手順メモ == | ||
+ | Muninをインストール、設定してみましたので、メモ。 | ||
=== 環境 === | === 環境 === | ||
87行目: | 88行目: | ||
* Used列もyesに変更になりました。 | * Used列もyesに変更になりました。 | ||
+ | |||
+ | [[Category:自宅サーバー]] | ||
+ | [[Category:apache]] |
Muninをインストール、設定してみましたので、メモ。
uname -r 3.7.6-201.fc18.x86_64
# munin-node-configure --suggest Plugin | Used | Suggestions ------ | ---- | ----------- acpi | no | no [cannot read [] amavis | no | no apache_accesses | no | no [apache server-status not found. check if mod_status is enabled] apache_processes | no | no [apache server-status not found. check if mod_status is enabled] apache_volume | no | no [apache server-status not found. check if mod_status is enabled] (snip)
/etc/httpd/conf.d/status.conf
<IfModule mod_status.c> ExtendedStatus On <Location /server-status> SetHandler server-status Require host localhost </Location> </IfModule>
systemctl restart httpd.service
munin-node-configure --suggest Plugin | Used | Suggestions ------ | ---- | ----------- acpi | no | no [cannot read [] amavis | no | no apache_accesses | no | yes apache_processes | no | yes apache_volume | no | yes (snip)
munin-node-configure --shell ln -s '/usr/share/munin/plugins/apache_accesses' '/etc/munin/plugins/apache_accesses' ln -s '/usr/share/munin/plugins/apache_processes' '/etc/munin/plugins/apache_processes' ln -s '/usr/share/munin/plugins/apache_volume' '/etc/munin/plugins/apache_volume' # The following plugins caused errors: # ntp_states: (snip)
lnコマンド部分を実行します。
systemctl restart munin-node.service
munin-node-configure --suggest Plugin | Used | Suggestions ------ | ---- | ----------- acpi | no | no [cannot read [] amavis | no | no apache_accesses | yes | yes apache_processes | yes | yes apache_volume | yes | yes (snip)