-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request for MongoDB Support #38
Comments
Hi Jacob, :) Of course, I'm always opened to include new graphs. Most of times though I'm not familiarized with the services requested, like this one. So I'd appreciate if you can provide information of how to collect MongoDB statistics and some description of which values are relevant to include in the graphs, and even how they are related each other. Just to make sure that the final graphs are made properly. Please, let me know. |
I dont know much about Perl, but there are official mongodb-bindings for Perl to connect to a database: http://docs.mongodb.org/ecosystem/drivers/perl/ Nice to have would be the datasize/storageSize of a database or colelction (you can get them via dbStats-command [1] and the collStats-command [2].) Also, if the user sets the profiling-level of the db to "1", the number of slow-queries per time would be nice to see [3]. The serverStatus-command [4] offers much more information about the database, like connections, number of queries, etc... This would be nice too! Have a nice day, Oliver [1] http://docs.mongodb.org/manual/reference/command/dbStats/ |
I'll take a look to it. |
Hi Jordi, Sorry I've been away the past week. Ill talk to our resident MongoDB administrator to see what he would like to see and how he collects data now. Thanks for giving it a try, the information above looks rather good as well. Oh! just noticed, you got my name wrong :-) Its actually Jake. Its a common mix up from my email. the J is my first initial with the Amey being the last name. |
Jacob, Any help from your MongoDB administrator will be also very appreciated! And yes, you're right, I've misspelled completely your name. Sorry for that. |
Sorry, hes currently working on a large project. However. He is attending Mongo world this year (Leaves next week i believe). I'm sure he will have many ideas as to how to gauge and monitor performance on Mongo. Since we use your tool pretty standard in our environment I'm sure he will want to get you something to work with. If you wish, we can close this request right now as it will still be awhile before we really have anything for you. Up to you. |
Jacob, I understand, no problem at all. We can close this request and resume it when he has something interesting in mind. Perhaps even better discuss it by email directly. I really appreciate your interest on this. |
Hi, I've been working on this in the past weeks and this is what I have right now: The new That module uses the command
That module is also able to monitor an unlimited number of databases per each MongoDB server. It uses the command
In the screen shot attached you can see the statistics of a very-low activity local MongoDB server, and the statistics of a database called Thoughts? |
This is done in 0fdc7f2. |
Hello, |
I have no specific schedule for every version, so I can't tell you when it will be released. |
I configured Mongodb graph and when I open the url I am able to see the mongodb tables. However, I see no data in the graphs. Do I need to configure username, password of the db also on monitorix.conf file? I have installed mongodb and monitorix on the same linux box. Below the configuration: |
You should specify in the option |
Yes I have specified it. mongodb Where can I specify credentials like username and password to connect to mongodb? |
I have removed the formatting because somehow it does not allow me to post with formatting |
|
I'm afraid the only options I implemented were I'll include in my ToDo list to add the options Meanwhile, and as workaround, I think you could hack the
I hope that helped you. |
Updated like this in my conf file.. .. and will check if that works. Also I will raise another issue for this. |
OK, just let me know.
Perfect! 👍 |
I went thru all the stats in serverStatus output of MongoDB. I find below also useful in graph if possible:
Can I raise separate issue for that? |
Yes, of course, but please be as much detailed as possible on how to gather this statistic value. |
Hi Jordi,
Any chance of getting some MongoDB monitoring support added to Monitorix?
More then willing to be a test dummy :-)
The text was updated successfully, but these errors were encountered: