top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Getting Performance statistics of MongoDB without using MMS?

+1 vote
390 views

We are using MongoDB 2.6 version and management is not interested in giving additional server for MMS. But recently we have been asked to send the DB health status to management team. Can you please advice what are the important stats that we need to collect regarding OS stats, Storage stats, DB stats without using MMS?

Thanks much for help.

posted Jun 24, 2016 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes

Monitoring is a critical component of all database administration. A firm grasp of MongoDB’s reporting will allow you to assess the state of your database and maintain your deployment without crisis. Additionally, a sense of MongoDB’s normal operational parameters will allow you to diagnose problems before they escalate to failures.
Following link contains available monitoring utilities for mongo and monitoring strategies are there are three methods for collecting data about the state of a running MongoDB instance:
First, there is a set of utilities distributed with MongoDB that provides real-time reporting of database activities.
Second, database commands return statistics regarding the current database state with greater fidelity.
Third, MongoDB Cloud Manager, a hosted service, and Ops Manager, an on-premise solution available in MongoDB Enterprise Advanced, provide monitoring to collect data from running MongoDB deployments as well as providing visualization and alerts based on that data.
As you are not interested in MMS (aka Cloud Manager),follow first and second methods and commands list for second mathod can be found in following link :
Database Command List for second method: https://docs.cloud.mongodb.com/reference/monitoring/
for the first you can select utilities like : ganglia,motop,mtop,munin,nagios,

answer Jun 26, 2016 by Shivam Kumar Pandey
Similar Questions
0 votes

I am running YCSB against mongoDB and got a report that the Average Latency of a single insert operation is 3752.9 us. I would like to know how much each mongoDB functions contribute to this time. For example, how much time it took to do journaling?

Does mongoDB gives information like that?

+1 vote

I am having collection with 127706 document. In aggregation pipeline i having 2 group stages. It is giving me result in 1.5 sec.

To optimize it to more I have created index on the fields which I am using in match stages with no success. Is their any to optimize aggregation performance in more way?

I m using mongodb 3.2.1?

0 votes

I am new to mongodb. I am trying to do some aggregation operations like sum, avg, min.. on a collection. And I found that I can do it either using aggregation framework or cursor.forEach(). Which one to use? It will be better if someone explains how both works internally and give me some suggestions.

Thank you in advance

...