Weitere ähnliche Inhalte
Mehr von Masahito Zembutsu (20)
これはMRTGですか?いいえ、Muninです。#qpstudy 06 LT
- 6. 前佛 雅人 ( Zembutsu Masahito ) Twitter: @zembutsu Facebook: http://facebook.com/zembutsu Eucalyptusユーザ会、JAWS-UG等に出没 Perl LOVE 最近はまってるもの: 僕と契約して(ry ♪虹色クマクマ Facebookの CityVille 仕事:ホスティングの技術サポート(Linux中心) で、自己紹介 クラウドは 人生 (キリッ 6
- 14. Network トラフィック、スループット、netstaHTTP 読み込み時間 System CPU, Load average, Memory, Swap, Uptime,inodeの各使用率 Processes Vmstat, プロセス数, スレッド数 Disk ディスク使用率, IOPS, 遅延, スループット その他 Apache, MySQL, Sendmail, Procmail, NFS, etc!! 豊富な標準監視項目 14
- 21. /etc/munin/munin.conf contact.email.command mail -s "[Munin] notification for ${var:group}" zem@pocketstudio.jp contact.email.always_send warning critical あとは、ホスト毎に [www.pocketstudio.jp] address 210.239.46.254 use_node_name yes load.load.warning 10 load.load.critical 20 df._dev_sda2.warning 90 df._dev_sda2.critical 95 Tip.1 メール通知の方法 21
- 22. # ln -s /usr/share/munin/plugins/mysql_* /etc/munin/plugins/ # vi /etc/munin/plugin-conf.d/munin-node [mysql*] env.mysqlopts -u root -pPASSWORD env.mysqladmn /usr/bin/mysqladmin Tip.2 MySQLプラグイン 22
- 23. # ln -s /usr/share/munin/plugins/apache_* /etc/munin/plugins/ # vi /etc/munin/plugin-conf.d/munin-node [apache_*] env.url http://127.0.0.1:%d/server-status?auto env.ports 80 # vi /etc/httpd/conf/httpd.conf ExtendedStatus On <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 </Location> Tip.3 Apache プラグイン 23