facebook twitter hatena line email

Cacti/memcached

提供: 初心者エンジニアの簡易メモ
移動: 案内検索

cacti-mysqlプロジェクト

http://code.google.com/p/mysql-cacti-templates/

インストール

wget http://mysql-cacti-templates.googlecode.com/files/better-cacti-templates-1.1.8.tar.gz
tar zxvf better-cacti-templates-1.1.8.tar.gz
cp better-cacti-templates-1.1.8/scripts/ss_get_by_ssh.php /var/www/cacti/scripts/ss_get_by_ssh.php

port変更

vi scripts/ss_get_by_ssh.php
$memcache_port = 11211;                   # Which port memcached listens on

テンプレートインポート

  1. cactiのブラウザからImport Templatesページを開く
  2. templates/cacti_host_template_x_memcached_server_ht_0.8.6i-sver1.1.8.xmlをimport選択

グラフ作成

Graph TemplateからMemcached Memoryを選択

参考

http://www.maruko2.com/mw/Cacti_%E3%81%AB_MySQL_%E3%82%B5%E3%83%BC%E3%83%90%E3%81%AE%E7%B5%B1%E8%A8%88%E6%83%85%E5%A0%B1%E3%82%92%E8%A8%98%E9%8C%B2%E3%81%99%E3%82%8B