Option to configure mongodb log rotate remotely

Description

Add option in the pmm web client page to configure log rotate for the MongoDB instances.

The user would like to configure in the UI page to run daily, weekly or montly as well as to keep old logs or not.

This should call the  db.adminCommand( { logRotate : 1 } ) command in the database and delete or keep the old files according to the options previously configured.

 

 

How to test

None

How to document

None

AFFECTED CS IDs

100650

Smart Checklist

Activity

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

Yes

Smart Checklist

Created February 14, 2018 at 12:27 PM
Updated October 9, 2024 at 8:36 AM