No description, website, or topics provided.
Python JavaScript CSS C Other
Pull request Compare This branch is 210 commits ahead, 2 commits behind bcui6611:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Cheetah
docs
reports
wrapper
.gitignore
CMakeLists.txt
LICENSE
README.md
analyzer.py
bucket_stats.py
cbhealthchecker
cluster_stats.py
collector.py
dbaccessor.py
diskqueue_stats.py
dist_setup.py
node_map.py
node_stats.py
prescription.py
setup.py
stats_buffer.py
threshold.py

README.md

HealthChecker

We use this tool to collect cluster wide couchbase stats and generate health analysis report.

Build

After you clone the project from git://github.com/couchbase/healthchecker.git, run the following command:

config/autorun.sh

To build the package, run

make bdist

Build on windows

Make sure you install python and py2exe on your build machine

To build the pacakge, run

make -f Makefile.mingw

Run command

cbhealthchecker CLUSTER USERNAME PASSWORD OPTIONS

CLUSTER:

--cluster=HOST[:PORT] or -c HOST[:PORT] Default port is 8091

USERNAME:

-u USERNAME, --user=USERNAME admin username of the cluster

PASSWORD:

-p PASSWORD, --password=PASSWORD admin password of the cluster

OPTIONS:

-b BUCKETNAME, --bucket=BUCKETNAME Specific bucket name. Default is all buckets

-i FILENAME, --input=FILENAME Construct report out of input JSON file

-o FILENAME, --output=FILENAME Default output filename is 'health_report.html

-d --debug Show diagnosis information

-h --help Show this help message and exit

-v --verbose Display detailed node level information

-s SCALE, --scale=SCALE Specify stats scale, i.e. minute, hour, day, week, month and year Default scale is 'day'

-j --jsononly Colllect data only but no analysis report generated