Database Reference
In-Depth Information
Figure 10.1
The MongoDB web console
remaining nodes in a replica set or sharded cluster. It then displays the entire cluster's
statistics in aggregate.
T HE WEB CONSOLE
You can get a slightly more visual window into a running mongod process through the
web console. Every mongod listens for HTTP requests on the thousandth port above the
server port. Thus if you're running a mongod on port 27017, the web console will be
available on port 28017. If running on localhost , you can point your web browser to
http://localhost:28017, and you'll see a page like the one in figure 10.1.
Yet more status information is available by enabling the server's basic REST inter-
face. If you start mongod with the --rest flag, you'll enable a number of extra web con-
sole commands that are linked to from the main web console landing page.
10.2.3
External monitoring applications
Most serious deployments will require an external monitoring application. Nagios and
Munin are two popular open source monitoring systems used to keep an eye on many
MongoDB deployments. You can use each of these with MongoDB by installing a sim-
ple open source plug-in.
Search WWH ::




Custom Search