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

cbcollect_info doesn't gather stats info

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0
    • None
    • tools
    • Security Level: Public
    • None

    Description

      out put shows:
      [root@localhost bin]# ./cbcollect_info inf.zip
      uname (uname -a) - OK
      Directory structure (ls -lR '/opt/couchbase' /opt/membase /var/membase /etc/opt/membase) - Exit code 2
      Database directory structure (ls -lR ) - OK
      Directory structure membase - previous versions (ls -lR /opt/membase /var/membase /var/opt/membase /etc/opt/membase) - Exit code 2
      Process list snapshot (top -H -n 1) - OK
      Process list (ps -AwwL -o user,pid,lwp,ppid,nlwp,pcpu,pri,nice,vsize,rss,tty,stat,wchan:12,start,bsdtime,command) - OK
      Swap configuration (free -t) - OK
      Swap configuration (swapon -s) - OK
      Kernel modules (lsmod) - OK
      Distro version (cat /etc/redhat-release) - OK
      Distro version (lsb_release -a) - OK
      Installed software (rpm -qa) - OK
      Installed software (COLUMNS=300 dpkg -l) - Exit code 127
      Extended iostat (iostat -x -p ALL 1 10 || iostat -x 1 10) - Exit code 127
      Process usage (export TERM=linux; top -b -n1 | egrep 'moxi|memcached|vbucketmigrator|CPU|load|Mem:|Swap:|Cpu(s)') - OK
      Core dump settings (find /proc/sys/kernel -type f -name 'core' -print -exec cat '{}' ';') - OK
      netstat -nap (netstat -nap) - OK
      relevant lsof output (lsof -n | grep 'moxi|memcached|vbucketmigrator|beam') - OK
      Network configuration (ifconfig -a) - OK
      Taking sample 2 after 10.000000 seconds -
      OK
      Network status (netstat -an) - OK
      Network routing table (netstat -rn) - OK
      Arp cache (arp -na) - OK
      Filesystem (df -ha) - OK
      System activity reporter (sar 1 10) - Exit code 127
      System paging activity (vmstat 1 10) - OK
      System uptime (uptime) - OK
      couchbase user definition (getent passwd couchbase) - OK
      couchbase user limits (su couchbase -c "ulimit -a") - OK
      membase user definition (getent passwd membase) - Exit code 2
      couchbase user limits (su couchbase -c "ulimit -a") - OK
      membase user limits (su membase -c "ulimit -a") - Exit code 1
      Interrupt status (intrstat 1 10) - Exit code 127
      Processor status (mpstat 1 10) - Exit code 127
      System log (cat /var/adm/messages) - Exit code 1
      System log (cat /var/log/syslog) - Exit code 1
      System log (cat /var/log/messages) - OK
      Version file (cat '/opt/couchbase/VERSION.txt') - OK
      Manifest file (cat '/opt/couchbase/manifest.txt') - OK
      Manifest file (cat '/opt/couchbase/manifest.xml') - OK
      Memcached logs (cat '/opt/couchbase'/var/lib/couchbase/logs/memcached.log.*) - OK
      Kernel log buffer (dmesg) - OK
      couchbase config (./cbdump-config '/opt/couchbase/var/lib/couchbase/config/config.dat') - OK
      couchbase logs (debug) (cbbrowse_logs) - OK
      couchbase logs (info) (cbbrowse_logs info) - OK
      couchbase logs (error) (cbbrowse_logs error) - OK
      couchbase logs (couchdb) (cbbrowse_logs couchdb) - OK
      couchbase logs (xdcr) (cbbrowse_logs xdcr) - OK
      couchbase logs (xdcr_errors) (cbbrowse_logs xdcr_errors) - OK
      couchbase logs (views) (cbbrowse_logs views) - OK
      couchbase logs (mapreduce errors) (cbbrowse_logs mapreduce_errors) - OK
      couchbase logs (stats) (cbbrowse_logs stats) - OK
      memcached stats all (cbstats -a 127.0.0.1:11210 all -b _admin -p _admin) - OK
      memcached stats checkpoint (cbstats -a 127.0.0.1:11210 checkpoint -b _admin -p _admin) - OK
      memcached stats dispatcher (cbstats -a 127.0.0.1:11210 dispatcher logs -b _admin -p _admin) - OK
      memcached stats hash (cbstats -a 127.0.0.1:11210 hash detail -b _admin -p _admin) - OK
      memcached stats tap (cbstats -a 127.0.0.1:11210 tap -b _admin -p _admin) - OK
      memcached stats tapagg (cbstats -a 127.0.0.1:11210 tapagg -b _admin -p _admin) - OK
      memcached stats timings (cbstats -a 127.0.0.1:11210 timings -b _admin -p _admin) - OK
      memcached memory stats (cbstats -a 127.0.0.1:11210 raw memory -b _admin -p _admin) - OK
      memcached allocator stats (cbstats -a 127.0.0.1:11210 raw allocator -b _admin -p _admin) - OK
      couchbase diags (curl -sS "http://Administrator:password@127.0.0.1:8091/diag?noLogs=1") - OK

      stats log show:
      ==============================================================================
      memcached stats all
      cbstats -a 127.0.0.1:11210 all -b _admin -p _admin
      ==============================================================================
      ==============================================================================
      memcached stats checkpoint
      cbstats -a 127.0.0.1:11210 checkpoint -b _admin -p _admin
      ==============================================================================
      ==============================================================================
      memcached stats dispatcher
      cbstats -a 127.0.0.1:11210 dispatcher logs -b _admin -p _admin
      ==============================================================================
      ==============================================================================
      memcached stats hash
      cbstats -a 127.0.0.1:11210 hash detail -b _admin -p _admin
      ==============================================================================
      ==============================================================================
      memcached stats tap
      cbstats -a 127.0.0.1:11210 tap -b _admin -p _admin
      ==============================================================================
      ==============================================================================
      memcached stats tapagg
      cbstats -a 127.0.0.1:11210 tapagg -b _admin -p _admin
      ==============================================================================
      ==============================================================================
      memcached stats timings
      cbstats -a 127.0.0.1:11210 timings -b _admin -p _admin
      ==============================================================================
      ==============================================================================
      memcached memory stats
      cbstats -a 127.0.0.1:11210 raw memory -b _admin -p _admin
      ==============================================================================
      ==============================================================================
      memcached allocator stats
      cbstats -a 127.0.0.1:11210 raw allocator -b _admin -p _admin
      ==============================================================================

      Attachments

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

        Activity

          People

            iryna iryna
            iryna iryna
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty