# Path: collectors/lib/utils.py
# PY3 = sys.version_info[0] > 2
# USER = "nobody"
# def drop_privileges(user=USER):
# def is_sockfile(path):
# def err(msg):
#     def is_numeric(value):
#     def is_numeric(value):
# 
# Path: collectors/etc/mongodb3_conf.py
# def get_settings():


import sys
import time
import os
    import pymongo
from collectors.lib import utils
from collectors.etc import mongodb3_conf
CONFIG_METRICS = (
    'asserts.msg',
    'asserts.regular',
    'asserts.rollovers',
    'asserts.user',
    'asserts.warning',
    'backgroundFlushing.average_ms',
    'backgroundFlushing.flushes',
    'backgroundFlushing.total_ms',
    'connections.available',
    'connections.current',
    'cursors.clientCursors_size',
    'cursors.pinned',
    'cursors.timedOut',
    'cursors.totalNoTimeout',
    'cursors.totalOpen',
    'dur.commits',
    'dur.commitsInWriteLock',
    'dur.compression',
    'dur.earlyCommits',
    'dur.journaledMB',
    'dur.timeMs.commits',
    'dur.timeMs.commitsInWriteLock',
    'dur.timeMs.dt',
    'dur.timeMs.prepLogBuffer',
    'dur.timeMs.remapPrivateView',
    'dur.timeMs.writeToDataFiles',
    'dur.timeMs.writeToJournal',
    'dur.writeToDataFilesMB',
    'extra_info.heap_usage_bytes',

# Path: collectors/lib/utils.py
# PY3 = sys.version_info[0] > 2
# USER = "nobody"
# def drop_privileges(user=USER):
# def is_sockfile(path):
# def err(msg):
#     def is_numeric(value):
#     def is_numeric(value):
# 
# Path: collectors/etc/mongodb3_conf.py
# def get_settings():


# Path: collectors/0/mongo3.py
import sys
import time
import os
    import pymongo
from collectors.lib import utils
from collectors.etc import mongodb3_conf

CONFIG_METRICS = (
    'asserts.msg',
    'asserts.regular',
    'asserts.rollovers',
    'asserts.user',
    'asserts.warning',
    'backgroundFlushing.average_ms',
    'backgroundFlushing.flushes',
    'backgroundFlushing.total_ms',
    'connections.available',
    'connections.current',
    'cursors.clientCursors_size',
    'cursors.pinned',
    'cursors.timedOut',
    'cursors.totalNoTimeout',
    'cursors.totalOpen',
    'dur.commits',
    'dur.commitsInWriteLock',
    'dur.compression',
    'dur.earlyCommits',
    'dur.journaledMB',
    'dur.timeMs.commits',
    'dur.timeMs.commitsInWriteLock',
    'dur.timeMs.dt',
    'dur.timeMs.prepLogBuffer',
    'dur.timeMs.remapPrivateView',
    'dur.timeMs.writeToDataFiles',
    'dur.timeMs.writeToJournal',
    'dur.writeToDataFilesMB',
    'extra_info.heap_usage_bytes',

    'extra_info.page_faults',