Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-2830

Create cluster monitoring scripts

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • feature-backlog
    • 1.6.5.3
    • tools
    • 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

      {list of servers on the cluster}

      ; do echo machineon $i; /opt/membase/bin/ep_engine/management/stats $i:11210dispatcher;done
      b. ep-engine Stats
      for i in

      { list of servers on the cluster }; do echo machineon $i; /opt/membase/bin/ep_engine/management/stats $i:11210 all | egrep"todo|cur|queue_size|mem|ejec|del";done
      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

      { list of servers on the cluster }

      ; 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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            perry Perry Krug
            sharon Sharon Barr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty