1月 102010
 

下書きで放置していた cacti に関するメモ。

インストール

$ tar zxvf cacti-0.8.7a.tar.gz
$ cp cacti-0.8.7a /path/to/
$ cd /path/to
$ ln -s cacti-0.8.7a cacti
$ cd cacti/include
$ vi config.php

apache のエイリアスをきってからアクセス。
アクセス先は、http://path/to/cacti/ とか。

0.8.7b バグ

Invalid PHP_SELF Path とか表示されたら、下記のように修正すればよいらしい。
(- が修正前、+ が修正後。-, + は実際はいらない)

include/global.php 113行目

- if (!((is_file($_SERVER["SCRIPT_FILENAME"])) && (substr_count($_SERVER["SCRIPT_FILENAME"], $_SERVER["PHP_SELF"])))) { 
+ if (!((is_file($_SERVER["SCRIPT_FILENAME"])))) {

新しい定義

  1. スクリプトを書く
  2. DataInputMethod を cacti で定義。
  3. Data Templates を cacti で定義。
  4. Data Sources を cacti で定義。
  5. Graph Templates を cacti で定義。

関連エントリー:

pthread_key + 使い方

MySQL 覚え書き。

epoll + 使い方

C + システムリソース設定

Git 使い方アレコレ

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <img localsrc="" alt=""> <pre lang="" line="" escaped="" highlight="">