Skip to content
BleemeoBleemeo

MongoDB

Auto-Detection
Built-in Metrics
Logs

MongoDB is a document-oriented NoSQL database designed for scalability and flexibility.

Glouton detects MongoDB by its process and listening port (default: 27017).

If auto-detected parameters are incorrect, override them manually:

Terminal window
sudo tee /etc/glouton/conf.d/99-mongodb.conf > /dev/null << 'EOF'
service:
# For a MongoDB running outside a container
- type: "mongodb"
address: "127.0.0.1"
port: 27017
# For an additional MongoDB running outside a container
- type: "mongodb"
instance: "NAME_ASSOCIATED_WITH_YOUR_ADDITIONAL_SERVICE"
address: "127.0.0.1"
port: 27018
# For a MongoDB running in a Docker container
- type: "mongodb"
instance: "CONTAINER_NAME"
address: "172.17.0.2"
port: 27017
EOF

Glouton automatically detects configuration changes.

MetricDescription
service_statusStatus of MongoDB
mongodb_open_connectionsNumber of client connections to the MongoDB server
mongodb_net_in_bytesNetwork traffic received by MongoDB in bytes per second
mongodb_net_out_bytesNetwork traffic sent by MongoDB in bytes per second
mongodb_queued_readsNumber of clients waiting to read data from MongoDB
mongodb_queued_writesNumber of clients waiting to write data to MongoDB
mongodb_active_readsNumber of clients performing read operations
mongodb_active_writesNumber of clients performing write operations
mongodb_queriesNumber of queries per second

Glouton collects MongoDB logs for analysis in Bleemeo.