Mongo Calls Test
The first step to ensuring an above-par experience for MongoDB users is to be able to spot failures, well before the users notice them and complain! This is exactly what the Mongo Calls test helps administrators achieve! This test monitors queries/calls to the tables in MongoDB, and rapidly alerts administrators to failed table operations. Additionally, the test also points to the type of table operations that experienced maximum failures - is it create table? alter table? drop table? rename table? compact table? salvage table? truncate table? or verify table?
Target of the test : A MongoDB server
Agent deploying the test : An internal/remote agent
Outputs of the test : One set of results for the MongoDB server monitored.
Parameter | Description |
Test period |
How often should the test be executed. |
Host |
The host for which the test is to be configured. |
Port |
The port number at which the specified host listens. |
Database Name |
The test connects to a specific Mongo database to run API commands and pull metrics of interest. Specify the name of this database here. The default value of this parameter is admin. |
Username and Password |
The eG agent has to be configured with the credentials of a user who has the required privileges to monitor the target MongoDB instance, if the MongoDB instance is access control enabled. To know how to create such a user, refer to How to monitor access control enabled MongoDB database?If the target MongoDB instance is not access control enabled, then, specify none against the Username and Password parameters. |
Confirm Password |
Confirm the password by retyping it here. |
Authentication Mechanism |
Typically, the MongoDB supports multiple authentication mechanisms that users can use to verify their identity. In environments where multiple authentication mechanisms are used, this test enables the users to select the authentication mechanism of their interest using this list box. By default, this is set to None. However, you can modify this settings as per the requirement. |
SSL |
By default, the SSL flag is set to No, indicating that the target MongoDB server is not SSL-enabled by default. To enable the test to connect to an SSL-enabled MongoDB server, set the SSL flag to Yes. |
CA File |
A certificate authority (CA) file contains root and intermediate certificates that are electronically signed to affirm that a public key belongs to the owner named in the certificate. If you are looking to monitor the certificates contained within a CA file, then provide the full path to this file in the CA File text box. For example, the location of this file may be: C:\cert\rootCA.pem. If you do not want to monitor the certificates in a CA file, set this parameter to none. |
Certificate Key File |
A Certificate Key File specifies the path on the server where your private key is stored. If you are looking to monitor the Certificate Key File, then provide the full path to this file in the Certificate Key File text box. For example, the location of this file may be: C:\cert\mongodb.pem. If you do not want to monitor the certificates in a CA file, set this parameter to none. |
Measurement | Description | Measurement Unit | Interpretation |
---|---|---|---|
Total calls |
Indicates the number of calls made to tables in MongoDB during the last measurement period. |
Number |
|
Total successful tables |
Indicates the number of table calls that were successful during the last measurement period. |
Number |
Ideally, the value of this measure should be equal to the value of the Total calls measure. |
Total failed tables |
Indicates the number of table calls that failed during the last measurement period. |
Number |
Ideally, the value of this measure should be 0 or very low. |
Percentage of failed calls |
Indicates the percentage of table calls that failed during the last measurement period. |
Percent |
A value close to 100% implies that almost all table calls are failing. This warrants an investigation. |
Table alter successful calls |
Indicates the number of table alter calls that were successful during the last measurement period. |
Number |
A high value is desired for this measure. |
Table alter failed calls |
Indicates the number of table alter calls that failed during the last measurement period. |
Number |
The value 0 or a low value is desired for this measure. |
Total table alter unchanged and skipped calls |
Indicates the number of table alter unchanged and skipped calls that were made during the last measurement period. |
Number |
|
Table compact successful calls |
Indicates the number of table compact calls that were successful during the last measurement period. |
Number |
A high value is desired for this measure. |
Table compact failed calls |
Indicates the number of table alter calls that failed during the last measurement period. |
Number |
The value 0 or a low value is desired for this measure. |
Table create successful calls |
Indicates the number of table create calls that were successful during the last measurement period. |
Number |
A high value is desired for this measure. |
Table create failed calls |
Indicates the number of table create calls that failed during the last measurement period. |
Number |
The value 0 or a low value is desired for this measure. |
Table drop successful calls |
Indicates the number of table drop calls that were successful during the last measurement period. |
Number |
A high value is desired for this measure. |
Table drop failed calls |
Indicates the number of table drop calls that failed during the last measurement period. |
Number |
The value 0 or a low value is desired for this measure. |
Table rename successful calls |
Indicates the number of table rename calls that were successful during the last measurement period. |
Number |
A high value is desired for this measure. |
Table rename failed calls |
Indicates the number of table rename calls that failed during the last measurement period. |
Number |
The value 0 or a low value is desired for this measure. |
Table salvage successful calls |
Indicates the number of table salvage calls that were successful during the last measurement period. |
Number |
A high value is desired for this measure. |
Table salvage failed calls |
Indicates the number of table salvage calls that failed during the last measurement period. |
Number |
The value 0 or a low value is desired for this measure. |
Table truncate successful calls |
Indicates the number of table truncate calls that were successful during the last measurement period. |
Number |
A high value is desired for this measure. |
Table truncate failed calls |
Indicates the number of table truncate calls that failed during the last measurement period. |
Number |
The value 0 or a low value is desired for this measure. |
Table verify successful calls |
Indicates the number of table verify calls that were successful during the last measurement period. |
Number |
A high value is desired for this measure. |
Table verify failed calls |
Indicates the number of table verify calls that failed during the last measurement period. |
Number |
The value 0 or a low value is desired for this measure. |