Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1693233 - Add some additional MongoDB information to pulp sos plugin (Stats)
Summary: Add some additional MongoDB information to pulp sos plugin (Stats)
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sos
Version: 7.7
Hardware: All
OS: All
Target Milestone: rc
: ---
Assignee: Pavel Moravec
QA Contact: BaseOS QE - Apps
Depends On:
TreeView+ depends on / blocked
Reported: 2019-03-27 11:26 UTC by Waldirio M Pinheiro
Modified: 2019-04-10 20:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Github sosreport sos pull 1645 None None None 2019-04-10 20:40:39 UTC

Description Waldirio M Pinheiro 2019-03-27 11:26:11 UTC
Description of problem:
When doing the MongoDB troubleshooting, there is an output very useful that we don't have already on foreman sos plugin "db.stats()".

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Steps below

Actual results:
We don't have the information, that said, we have to request.

Expected results:
See the info under sosreport / foreman plugin.

Additional info:

Comment 2 Waldirio M Pinheiro 2019-03-27 11:28:18 UTC

// Below the command to be executed on Sat server
# cat << EOF | mongo >/tmp/mongo_stats.log
use pulp_database

// Here we can see the output
# cat /tmp/mongo_stats.log 
MongoDB shell version: 2.6.11
connecting to: test
switched to db pulp_database
	"db" : "pulp_database",
	"collections" : 51,
	"objects" : 210805,
	"avgObjSize" : 9897.908531581319,
	"dataSize" : 2086528608,
	"storageSize" : 8197115904,
	"numExtents" : 160,
	"indexes" : 169,
	"indexSize" : 128216032,
	"fileSize" : 10666115072,
	"nsSizeMB" : 16,
	"dataFileVersion" : {
		"major" : 4,
		"minor" : 5
	"extentFreeList" : {
		"num" : 2,
		"totalSize" : 139264
	"ok" : 1

Best Regards
Waldirio M Pinheiro | Senior Software Maintenance Engineer

Comment 4 Pavel Moravec 2019-04-10 20:40:40 UTC
Same as in ;-)

Note You need to log in before you can comment on or make changes to this bug.