Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Cheetah
config
reports
simplejson
wrapper
.gitignore
LICENSE
Makefile.am
Makefile.mingw
README.md
analyzer.py
bucket_stats.py
buckets.py
cbhealthchecker
cluster_stats.py
collector.py
configure.ac
dbaccessor.py
diskqueue_stats.py
dist_setup.py
info.py
listservers.py
mc_bin_client.py
memcacheConstants.py
node_map.py
node_stats.py
prescription.py
restclient.py
setup.py
stats_buffer.py
threshold.py
usage.py
util_cli.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

Something went wrong with that request. Please try again.