Skip to content

collectors MongoDBCollector

Rob Smith edited this page Aug 11, 2012 · 21 revisions

MongoDBCollector

Collects all number values from the db.serverStatus() command, other values are ignored.

Dependencies

  • pymongo

Options

  • Generic Options
  • host: Hostname
  • enabled: Enable collecting these metrics
  • byte_unit: Default numeric output(s)

Example Output

servers.hostname.db_keys.db_nested_key 1
servers.hostname.dbkey 2
Clone this wiki locally