Áú»¢¶Ä²©

§¿§ä§à §á§Ö§â§Ö§Ó§à§Õ §ã§ä§â§Ñ§ß§Ú§è§í §Õ§à§Ü§å§Þ§Ö§ß§ä§Ñ§è§Ú§Ú §ã §Ñ§ß§Ô§Ý§Ú§Û§ã§Ü§à§Ô§à §ñ§Ù§í§Ü§Ñ. §±§à§Þ§à§Ô§Ú§ä§Ö §ß§Ñ§Þ §ã§Õ§Ö§Ý§Ñ§ä§î §Ö§Ô§à §Ý§å§é§ê§Ö.

6 §±§Ý§Ñ§Ô§Ú§ß MongoDB

Overview

This section lists parameters supported in the MongoDB Áú»¢¶Ä²© agent 2 plugin configuration file (mongodb.conf). Note that:

  • The default values reflect process defaults, not the values in the shipped configuration files;
  • Áú»¢¶Ä²© supports configuration files only in UTF-8 encoding without ;
  • Comments starting with "#" are only supported at the beginning of the line.

§°§á§è§Ú§Ú

§±§Ñ§â§Ñ§Þ§Ö§ä§â §°§á§Ú§ã§Ñ§ß§Ú§Ö
-V --version §£§í§Ó§Ö§ã§ä§Ú §Ó§Ö§â§ã§Ú§ð §á§Ý§Ñ§Ô§Ú§ß§Ñ §Ú §Ú§ß§æ§à§â§Þ§Ñ§è§Ú§ð §à §Ý§Ú§è§Ö§ß§Ù§Ú§Ú.
-h --help §²§Ñ§ã§á§Ö§é§Ñ§ä§Ñ§ä§î §ã§á§â§Ñ§Ó§à§é§ß§å§ð §Ú§ß§æ§à§â§Þ§Ñ§è§Ú§ð (§ã§à§Ü§â§Ñ§ë§Ö§ß§ß§à).

Parameters

Parameter Mandatory Range Default Description
Plugins.Mongo.KeepAlive no 60-900 300 The maximum time of waiting (in seconds) before unused plugin connections are closed.
Plugins.Mongo.Sessions.<SessionName>.Password no Named session password.
<SessionName> - name of a session for using in item keys.
Plugins.Mongo.Sessions.<SessionName>.Uri no Connection string of a named session.
<SessionName> - name of a session for using in item keys.

Should not include embedded credentials (they will be ignored).
Must match the URI format.
Only tcp scheme is supported; a scheme can be omitted.
A port can be omitted (default=27017).
Examples: tcp://127.0.0.1:27017, tcp:localhost, localhost
Plugins.Mongo.Sessions.<SessionName>.User no Named session username.
<SessionName> - name of a session for using in item keys.
Plugins.Mongo.Timeout no 1-30 global timeout Request execution timeout (how long to wait for a request to complete before shutting it down).

See also: