MMS Reference

This document contains references of the different types of hosts, databases, and other statuses that may occur in MMS.

Host Types

The possible values for the “Type” column in the Hosts page are:

  • primary
  • secondary
  • standalone
  • master
  • slave
  • unknown
  • recovering

The “Host Type” selector on the advanced dashboard creator also includes:

  • conf
  • mongos

Host Process Types

MMS can monitor the process types:

  • mongod database processes
  • mongod arbiter processes
  • mongos
  • MMS Agents

Event Types

Types of events in the Events section of the MMS console:

  • new host
  • restart
  • upgrade
  • now secondary
  • now primary

Alert Types

The available alert types are:

  • Old Host Version
  • Host Down
  • Agent Down

Chart Colors

  • A red bar indicates a server restart.
  • A purple bar indicates the server is now a primary.
  • A yellow bar indicates the server is now a secondary.

Status Page

  • cpu time
  • db storage
  • page faults
  • repl lag
  • replica
  • network
  • cursors
  • queues
  • connections
  • background flush avg
  • lock %
  • btree
  • non-mapped virtual memory
  • memory
  • asserts
  • opcounters-repl
  • opcounters

DB Stats Page

  • collections
  • objects
  • average object size
  • data size
  • storage size
  • num extents
  • indexes
  • index size
  • file size

Database Commands Used by Agent

  • serverStatus
  • buildinfo
  • getCmdLineOpts
  • connPoolStats
  • _isSelf
  • getParameter
  • ismaster
  • getShardVersion
  • netstat
  • replSetGetStatus
  • shards.find
  • mongos.find
  • config.chunks.group
  • oplog.find
  • collstats - oplog.rs
  • sources.find (slave)
  • config.settings.find
  • dbstats
  • db.locks

PyMongo Error Codes

10057

Authentication error.