5 MongoDB plugin

Overview

This section lists parameters supported in the MongoDB Zabbix agent 2 plugin configuration file (mongodb.conf). Note that:

  • The default values reflect process defaults, not the values in the shipped configuration files;
  • Zabbix supports configuration files only in UTF-8 encoding without BOM;
  • Comments starting with “#” are only supported at the beginning of the line.

Parameters

ParameterMandatoryRangeDefaultDescription
Plugins.Mongo.KeepAliveno60-900300The maximum time of waiting (in seconds) before unused plugin connections are closed.
Plugins.Mongo.Sessions.<SessionName>.PasswordnoNamed session password.
<SessionName> - name of a session for using in item keys.
Plugins.Mongo.Sessions.<SessionName>.UrinoConnection 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>.UsernoNamed session username.
<SessionName> - name of a session for using in item keys.
Plugins.Mongo.Timeoutno1-30global timeoutRequest execution timeout (how long to wait for a request to complete before shutting it down).

See also: