Details
-
Improvement
-
Resolution: Won't Fix
-
Major
-
1.6.5.3
-
Security Level: Public
-
None
Description
Until we have monitoring in place, I would like to have scripts as part of the management directory that provides info about the whole cluster. For example, get the list of servers from the REST api and return the status of all dispatchers on the cluster. Here is the list of command I constantly run yesterday, Perry, since these are "support" scripts, I would like you to own this and use the help of the dev team where needed. please refine my list or add to it as you learn more about the product.
a. Dispatcher
for i in
; do echo machineon $i; /opt/membase/bin/ep_engine/management/stats $i:11210dispatcher;done
b. ep-engine Stats
for i in
c. Tap
for i in { list of servers on the cluster }
; do echo machineon $i; /opt/membase/bin/ep_engine/management/stats $i:11210 tap | egrep"rec_fetched|pending_backfill";done
d. vBucketCtl
for i in
; do echo machineon $i; /opt/membase/bin/ep_engine/management/vbucketctl $i:11210 list | awk'
{print $3}' | sort -n | uniq -c ; done
e. Machine stats
Not sure how to do that, but we should be able to see the basic paramsof the top command along with the memcached process