LoginSignup
5
6

More than 5 years have passed since last update.

CentOS 6.6にUchiwaをインストール

Posted at

SensuのdashboardであるUchiwaをCentOS 6.6にインストールする手順。
※SensuとUchiwaは同サーバにインストールするものとする
http://sensuapp.org/docs/0.16/dashboards_uchiwa

Uchiwaインストール

# yum install uchiwa

設定

/etc/sensuディレクトリの所有グループがsensuであることを確認。

# ll -d /etc/sensu
drwxr-xr-x 8 sensu sensu 4096  1月 16 21:29 2015 /etc/sensu

/etc/sensu/uchiwa.jsonを作成。
user/passは/etc/sensu/conf.d/api.jsonで設定したものを使用。

# vi /etc/sensu/uchiwa.json
/etc/sensu/uchiwa.json
{
    "sensu": [
        {
            "name": "Sensu",
            "host": "127.0.0.1",
            "ssl": false,
            "port": 4567,
            "user": "admin",
            "pass": "sensu-api-admin-password",
            "path": "",
            "timeout": 5000
        }
    ],
    "uchiwa": {
        "user": "",
        "pass": "",
        "port": 3000,
        "stats": 10,
        "refresh": 10000
    }
}

Uchiwa起動

# chkconfig uchiwa on
# service uchiwa start

dashboardにアクセス

ブラウザで下記にアクセス。
http://<Server IP>:3000

uchiwa-1.png

5
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
6