HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Monitor disk usage with MongoDB Ops Manager

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
diskwithmongodbmanagerusagemonitorops

Problem

We use MongoDB Ops Manager 1.6.2.251.

I searched Activity -> Alert Settings. Is there a way to monitor disk usage?

To get an alert if this changes to 90%:

# df -h /data/
Filesystem                Size  Used Avail Use% Mounted on
/dev/mapper/vdatavg-data   99G  295M   99G   1% /data

Solution

MongoDB Ops Manager 3.4.0 (released November, 2016) includes monitoring for hardware metrics (cpu, disk usage, and I/O utilization) via the Automation agent. For more information, see: System and Disk Alerts.

Prior versions of Ops Manager did not include hardware monitoring and required the use of an external tool (munin-node) for CPU & disk metrics. If you are still using an older version of Ops Manager and have installed Munin-node for monitoring CPU & I/O stats you could look into using the Munin df plugin to track free disk space. Munin supports sending alerts via email as well as through Nagios and external scripts.

Context

StackExchange Database Administrators Q#112405, answer score: 2

Revisions (0)

No revisions yet.