MongoDB Collector (app-discovery-mongodb)
This collector collects a MongoDB server information and information about connected clients. For details about the configuration parameters, see Table 1.
Parameter |
Mandatory |
Configuration |
---|---|---|
output_path |
No |
Enter the storage path of the collection result file (app-discovery-mongodb-xxx.csv). If this parameter is left blank, the storage path defaults to <collector-installation-path>\output\file. Example: C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-mongodb\output\file\app-discovery-mongodb-xxx.csv |
ssl_ca_file |
No |
If SSL is used for connection, enter the path of the CA certificate file (.pem). You are advised to use a specific set of CA certificates instead of a server certificate issued and signed by a well-known organization. |
ssl_client_private_key_password |
No |
If the private key contained in the certificate file has been encrypted, enter the password or passphrase. |
ssl_client_certificate_key_file |
No |
Enter the path of the .pem file that concatenates the certificate and its private key. If the private key of the certificate is stored in a separate file, it should be concatenated with the certificate file. |
auth_source |
No |
Enter the MongoDB authentication source. |
times |
Yes |
Set the number of collection times. The value ranges from 1 to 1,000. |
interval |
Yes |
Set the collection interval, in seconds. The value ranges from 1 to 60. |
password |
Yes |
Enter the login password. |
user |
Yes |
Enter the name of the user who has the ClusterMonitor and ReadAnyDatabase permissions. |
endpoint |
Yes |
Enter the connection endpoint of the MongoDB server, for example, 127.0.0.1:27017. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot