Ops Manager 18.104.22.168
MongoDB shell version: 2.6.10
connecting to: test
> show dbs;
Our MMS DB use 15 GB of 150 GB available. We can't extend the volume. We don't use MMS for backup. We use mongodump on other node.
Ops Manager Application Database This database contains application metadata used by the Ops Manager Application. The database stores: • Monitoring data collected from Monitoring Agents. • Metadata for Ops Manager users, groups, hosts, monitoring data, and backup state. For topology and specifications, see Ops Manager Application Database Hardware.
At the moment we only enabled Monitoring Agent on Prod. But we wish to enable it on all environments, but cleanup metrics data older than 30 days.
In Oracle you can do something like this. This statement can be scheduled jobs with Oracle Scheduler.
WHERE creation_date <= TRUNC(SYSDATE) - 30
The same we wish to to with Automation agent DEBUG logs. Howto do this with MongoDB MMS meta databases?
What is the data retention policy for Ops Manager? Ops Manager retains two distinct types of data: metrics, which describe usage; and snapshots, which back up your data.
Data-retention policies, as defined in the Terms of Service, are always subject to change.
As of this writing, Ops Manager preserves:
Minute-level metrics for 48 hours. Hourly metrics for 94 days. Snapshots according to their retention policy.