SelectStar

Prerequisites

Before attempting to monitor your MongoDB database with SelectStar, ensure you are running MongoDB 3.0 or greater.

Connection Information

The following information is required by SelectStar in order to monitor to your MongoDB databases:

Field
API Field
Description

Connecting To

connecting_to

Select Router if you are connecting to a sharded cluster (to one or more mongos instances). Select Node if connecting directly to one or more mongod instances. One of: Router (mongos), Node (mongod)

Host(s)

host

MongoDB hostname or IP address, can take a comma-separated list of multiple hosts (mongos/mongod instances)

Use SSL

ssl

Use SSL connections to MongoDB instances. One of: None [default], Enabled on Router(s), Enabled on Node(s), Enabled on Router(s) AND Node(s)

Validate Certificate(s)

validate_certificate_against_truststore

Enables validating SSL Certificate(s) [default: false]

Credentials

Field
API Field
Description

Router Username

username_mongos

Router username used if connecting to a router

Router Password

password_mongos

Router user's password

Node Username

username_mongod

Node username, used when connectig to nodes

Node Password

password_mongod

Node user's password

Multiple Hosts Format

The Host field supports input of multiple hosts using a comma-separated list. If using a port other than the default of 27017, it can be appended using the following format: <hostname_or_IP1>:<port>,<hostname_or_ip2>:<port>.

Access Rights

SelectStar collects data from the MongoDB database via the Mongo Client.

To set up the minimum user permissions needed for monitoring with SelectStar, ensure a least privileged MongoDB user account of read-only.