MB-8101: allow overriding of logs reports dir

So that nonstandard log locations can be supported by cbcollect_info

Change-Id: I4090a9cd379f87ebc74a210317e345b7eb49c8c3
Reviewed-on: http://review.couchbase.org/25684
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-8101: implemented dump-guts script

So that cbcollect_info can use that piece of erlang to cleanly extract
all erlang values it needs (passwords, paths, ports etc).

Change-Id: I8978c31bb57dbe715036188956ef7a4326c1b04b
Reviewed-on: http://review.couchbase.org/25685
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-8101: changed cbcollect_info to use information from dump-guts

Patch separates general os-level diagnostics from per-product diags.

New behavior is try to find working initargs so that dump-guts returns
something sensible. And then use only dump-guts information to collect
various product infos.

Change-Id: Iab97e3c343f40e75aa6f035fcfc30f04c6361e32
Reviewed-on: http://review.couchbase.org/25686
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-100: automagically append .zip to cbcollect_info output name

Change-Id: I7804754e47c33f65e133436bd7149fc6bca97ec9
Reviewed-on: http://review.couchbase.org/25687
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-100: added cbcollect_info option to grab just product diag

Change-Id: I21af89378138c623430865caf0a76b31d8061659
Reviewed-on: http://review.couchbase.org/25688
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-7994: don't cbcollect hash stats

I.e. because it actually walks over all hashtable buckets for all
vbuckets holding locks.

Change-Id: I06c8679fe9c46d05efc266a997c12ab7c922e14f
Reviewed-on: http://review.couchbase.org/25689
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>