Name Date Size

..11-Feb-20204 KiB

.gitignoreH A D11-Feb-2020157

analyzer.pyH A D11-Feb-202026.4 KiB

bucket_stats.pyH A D11-Feb-20206.8 KiB

cbhealthcheckerH A D11-Feb-20204.3 KiB

Cheetah/H11-Feb-20204 KiB

cluster_stats.pyH A D11-Feb-202058.8 KiB

CMakeLists.txtH A D11-Feb-20206.1 KiB

collector.pyH A D11-Feb-202016.5 KiB

dbaccessor.pyH A D11-Feb-202011.4 KiB

diskqueue_stats.pyH A D11-Feb-202020.5 KiB

dist_setup.pyH A D11-Feb-2020196

docs/H11-Feb-20204 KiB

LICENSEH A D11-Feb-202011.1 KiB

node_map.pyH A D11-Feb-2020218

node_stats.pyH A D11-Feb-202030.4 KiB

prescription.pyH A D11-Feb-20205 KiB

README.mdH A D11-Feb-20201.5 KiB

reports/H11-Feb-20204 KiB

setup.pyH A D11-Feb-2020150

stats_buffer.pyH A D11-Feb-20201.4 KiB

threshold.pyH A D11-Feb-20202.6 KiB

wrapper/H11-Feb-20204 KiB

README.md

1HealthChecker
2=============
3
4We use this tool to collect cluster wide couchbase stats and generate health analysis report.
5
6Build
7-------
8
9After you clone the project from `git://github.com/couchbase/healthchecker.git`, run the following command:
10
11    config/autorun.sh
12
13To build the package, run
14
15    make bdist
16
17Build on windows
18-------
19
20Make sure you install python and py2exe on your build machine
21
22To build the pacakge, run
23
24    make -f Makefile.mingw
25
26Run command
27------------
28
29    cbhealthchecker CLUSTER USERNAME PASSWORD OPTIONS
30
31CLUSTER:
32
33  --cluster=HOST[:PORT] or -c HOST[:PORT] Default port is 8091
34
35USERNAME:
36
37  `-u USERNAME`, --user=USERNAME       admin username of the cluster
38
39PASSWORD:
40
41  `-p PASSWORD`, --password=PASSWORD   admin password of the cluster
42
43OPTIONS:
44
45  `-b BUCKETNAME`, --bucket=BUCKETNAME Specific bucket name. Default is all buckets
46
47  `-i FILENAME`, --input=FILENAME      Construct report out of input JSON file
48
49  `-o FILENAME`, --output=FILENAME     Default output filename is 'health_report.html
50
51  `-d` --debug                         Show diagnosis information
52
53  `-h` --help                          Show this help message and exit
54
55  `-v` --verbose                       Display detailed node level information
56
57  `-s SCALE`, --scale=SCALE            Specify stats scale, i.e. minute, hour, day, week, month and year
58                                       Default scale is 'day'
59
60  `-j` --jsononly                      Colllect data only but no analysis report generated
61
62