[SERVER-2911] native Ganglia support for monitoring MongoDB metrics Created: 06/Apr/11 Updated: 30/Jun/17 Resolved: 30/Jun/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Kazuki Ohta | Assignee: | DO NOT USE - Backlog - Platform Team |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
We're using MongoDBs in the several production environments (thanks for the product!). Of course, we need to monitor many metrics which mongostat can output. There're some way to do this, but basically need to write the plugin for each monitoring system. If MongoDB supports recommended monitoring tool, and has the functionality to output the metrics natively, that would be nice for system administrators. Especially we're happy if it supports Ganglia, because we use it to monitor Hadoop systems co-located with MongoDB. Also, it has libganglia, and would be easy from C/C++ applications. |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 30/Jun/17 ] |
|
Since the time this ticket was filed, MongoDB has greatly expanded the monitoring capabilities associated with the server, both through FTDC, SNMP, and our Ops Manager suite of products. Please feel free to re-open this ticket if none of those options will work for you, and we can discuss what more we would need to add to those facilities to meet your needs. |
| Comment by Jayesh Thakrar [ 06/May/11 ] |
|
I have developed a comprehensive MongoDB monitoring solution based on Zabbix (http://www.zabbix.com). Both Zabbix and my monitoring solution are open source. You can find details about it at http://code.google.com/p/mikoomi/. In fact I am looking for volunteers to help with testing/feedback and can help people set it up. |
| Comment by Kazuki Ohta [ 07/Apr/11 ] |
|
Actually don't know C-based system. But hadoop/cassandra system (tends to be dozens of nodes) supports it. |
| Comment by Eliot Horowitz (Inactive) [ 07/Apr/11 ] |
|
Do you know of any servers that do this natively? mysql/apache/etc? |
| Comment by Kazuki Ohta [ 07/Apr/11 ] |
|
There's a command called "gmetric". calling this cmd sends the custom metric into local "gmond" daemon. Then it sends the data into "gmetad" daemon, which actually collects all the data in the cluster. The approach below calls "gmetric" command, in the cron script. The metrics are retrieved by mongo serverStatus(). However, it's more convenient for mongodb to send the metric to local gmond. It can be done by using "libganglia" (actually SunRPC). gmetric sourcecode will be helpful. |
| Comment by Eliot Horowitz (Inactive) [ 06/Apr/11 ] |
|
Can you link to exactly what the server would have to expose? |