Agents Administration - Tests
 

Configuration of MongoCursorTest

A cursor is a pointer to the result set of a query. Clients can iterate through a cursor to retrieve results. By default, cursors timeout after 10 minutes of inactivity. Cursors that remain open for long periods of time can drain valuable memory resources; so can those cursors that have been configured to not timeout at all. To avoid the unnecessary memory drain, the MongoCursorTest test instantly alerts administrators to an abnormally large number of open cursors and notimeout cursors.

The default parameters associated with this test are as follows:

  • The TEST PERIOD list box helps the user to decide how often this test needs to be executed.

  • In the HOST text box, specify the IP address of the Mongo database server for which this test is to be configured.

  • In the PORT text box, specify the port number through which the Mongo database server communicates. By default, this is 27107.

  • The test connects to a specific Mongo database to run API commands and pull metrics of interest. Specify the name of this database in the DATABASE NAME text box. The default value of this parameter is admin.

  • If multiple components of the same component type are awaiting configuration, then an APPLY TO OTHER COMPONENTS check box will appear in this page. Clicking on this check box will allow you to apply the configuration to all/selected components of that type.

  • Once the necessary values have been provided, clicking on the UPDATE button will register the changes made.

When changing the configuration for specific servers, a “*” beside the text box corresponding to the parameter signifies that these values have to be manually configured by the user. The parameter values that require to be configured will typically be prefixed with a “$“ or contain a series of “*”. A value of "none" in the parameter value indicates that the corresponding parameter value can be changed if required.