jstests/free_mon/libs/free_mon.js
/**
 * Get current Free Monitoring Status via getFreeMonitoringStatus.
 *
 * @param {object} getFreeMonitoringStatus document
 */
Get current Free Monitoring Status via getFreeMonitoringStatus.
@param {object} getFreeMonitoringStatus document
Get current Free Monitoring Status via getFreeMonitoringStatus . @param { object } getFreeMonitoringStatus document
function FreeMonGetStatus(conn) {
    'use strict';
    const admin = conn.getDB("admin");
    return assert.commandWorked(admin.runCommand({getFreeMonitoringStatus: 1}));
}
function FreeMonGetStatus ( conn ) { 'use strict' ; const admin = conn . getDB ( "admin" ) ; return assert . commandWorked ( admin . runCommand ( { getFreeMonitoringStatus : 1 } ) ) ; }
Get current Free Monitoring Status via getFreeMonitoringStatus.
Get current Free Monitoring Status via getFreeMonitoringStatus .