Managing the MongoDB Server

The MongoDB server cannot be automatically discovered by eG Enterprise. This implies that you will have to manually add the server into the eG Enterprise system to manage it. Follow the steps below to achieve the same:

  1. Follow the Components -> Add/Modify menu sequence in the Infrastructure tile of the Admin menu.
  2. Next, select Mongo Database from the Component type drop-down and then click the Add New Component button.
  3. When Figure 1 appears, provide the Host IP/Name of the MongoDB server that you want to manage.

     

    Figure 1 : Managing a MongoDB server in an agent-based manner

  4. Then, provide a Nick name for the server.
  5. The Port number will be set as 27017 by default. If the MongoDB server is listening on a different port in your environment, then override this default setting.
  6. In case you are monitoring a MongoDB server in an agent-based manner, just pick an external agent from the External agents list box and click the Add button to add the component for monitoring.
  7. On the other hand, if you are monitoring a MongoDB server in an agentless manner, then do the following:

    • Select the Agentless check box.
    • Pick the OS on which the MongoDB server is running.
    • Set the Mode to Other.
    • Select the Remote agent that will be monitoring the MongoDB server. Note that the Remote agent you choose should run on a Windows host.
    • Choose an external agent for the server by picking an option from the External agents list box.
    • Finally, click the Add button to add the MongoDB server for monitoring.

       

      Figure 2 : Managing a MongoDB server in an agentless manner

  8. Finally, click the Signout button at the right, top corner of the eG admin interface to sign out.