Áú»¢¶Ä²©

Esta ¨¦ uma tradu??o da p¨¢gina de documenta??o original em ingl¨ºs. Ajude-nos a torn¨¢-la melhor.

9 Puglin do PostgreSQL

Vis?o geral

Essa se??o lista os par?metros suportados no arquivo de configura??o do plugin do agente PostgreSQL Áú»¢¶Ä²© 2 (postgresql.conf).

Desde o Áú»¢¶Ä²© 6.0.10, o PostgreSQL ¨¦ um plugin carreg¨¢vel, que est¨¢ dispon¨ªvel e descrito por completo em

Note que:

  • Os valores padr?o refletem o padr?o do processo, e n?o os valores nos arquivos de configura??o fornecidos;
  • O Áú»¢¶Ä²© suporta somente arquivos de configura??o codificados em UTF-8 sem ;
  • Coment¨¢rios que come?am com "#" somente s?o suportados no inicio da linha.

Op??es

Par?metro Descri??o
-V --version Exibe a vers?o do plugin e informa??es sobre licen?a.
-h --help Exibe informa??o de ajuda (atalho).

Par?metros

Nas vers?es anteriores de Áú»¢¶Ä²© 6.0.10, os nomes de par?metro come?avam com Plugins.Postgres.<Parameter> ao inv¨¦s de Plugins.PostgreSQL.<Parameter>. Por exemplo, Plugins.Postgres.KeepAlive.

Par?metro °¿²ú°ù¾±²µ²¹³Ù¨®°ù¾±´Ç Range Default Description
Plugins.PostgreSQL.CallTimeout n?o 1-30 global timeout Maximum wait time (in seconds) for a request to be completed.
Plugins.PostgreSQL.CustomQueriesPath n?o disabled Full pathname of the directory containing .sql files with custom queries.
Plugins.PostgreSQL.Default.Database n?o Default database for connecting to PostgreSQL; used if no value is specified in an item key or named session.
Supported since version 6.0.18.
Plugins.PostgreSQL.Default.Password n?o Default password for connecting to PostgreSQL; used if no value is specified in an item key or named session.
Supported since version 6.0.18.
Plugins.PostgreSQL.Default.TLSCAFile n?o
(sim, se Plugins.PostgreSQL.Default.TLSConnect estiver configurado para: verify_ca, verify_full)
Full pathname of a file containing the top-level CA(s) certificate for peer certificate verification for encrypted communications between Áú»¢¶Ä²© agent 2 and monitored databases; used if no value is specified in a named session.
Supported since version 6.0.18.
Plugins.PostgreSQL.Default.TLSCertFile n?o
(sim, se Plugins.PostgreSQL.Default.TLSConnect estiver configurado para: verify_ca, verify_full)
Full pathname of a file containing the PostgreSQL certificate or certificate chain for encrypted communications between Áú»¢¶Ä²© agent 2 and monitored databases; used if no value is specified in a named session.
Supported since version 6.0.18.
Plugins.PostgreSQL.Default.TLSConnect n?o Encryption type for communications between Áú»¢¶Ä²© agent 2 and monitored databases; used if no value is specified in a named session.
Supported values:
required - connect using TLS as transport mode without identity checks;
verify_ca - connect using TLS and verify certificate;
verify_full - connect using TLS, verify certificate and verify that database identity (CN) specified by DBHost matches its certificate.
Undefined encryption type means unencrypted connection.
Supported since version 6.0.18.
Plugins.PostgreSQL.Default.TLSKeyFile n?o
(sim, se Plugins.PostgreSQL.Default.TLSConnect estiver configurado para: verify_ca, verify_full)
Full pathname of a file containing the PostgreSQL private key for encrypted communications between Áú»¢¶Ä²© agent 2 and monitored databases; used if no value is specified in a named session.
Supported since version 6.0.18.
Plugins.PostgreSQL.Default.Uri n?o Default URI for connecting to PostgreSQL; used if no value is specified in an item key or named session.

Should not include embedded credentials (they will be ignored).
Must match the URI format.
Supported schemes: tcp, unix.
Examples: tcp://127.0.0.1:5432
tcp://localhost
unix:/var/run/postgresql/.s.PGSQL.5432
Supported since version 6.0.18.
Plugins.PostgreSQL.Default.User n?o Default username for connecting to PostgreSQL; used if no value is specified in an item key or named session.
Supported since version 6.0.18.
Plugins.PostgreSQL.KeepAlive n?o 60-900 300 Maximum time of waiting (in seconds) before unused plugin connections are closed.
Plugins.PostgreSQL.Sessions.<SessionName>.Database n?o Database for session connection.
<SessionName> - define name of a session for using in item keys.
Plugins.PostgreSQL.Sessions.<SessionName>.Password n?o Must match the password format. Password for session connection.
<SessionName> - define name of a session for using in item keys.
Plugins.PostgreSQL.Sessions.<SessionName>.TLSCAFile n?o
(sim, se Plugins.PostgreSQL.Sessions.<SessionName>.TLSConnect estiver configurado para: verify_ca, verify_full)
Full pathname of a file containing the top-level CA(s) certificate peer certificate verification.
<SessionName> - define name of a session for using in item keys.
Plugins.PostgreSQL.Sessions.<SessionName>.TLSCertFile n?o
(sim, se Plugins.PostgreSQL.Sessions.<SessionName>.TLSConnect estiver configurado: verify_ca, verify_full)
Full pathname of a file containing the PostgreSQL certificate or certificate chain.
<SessionName> - define name of a session for using in item keys.
Plugins.PostgreSQL.Sessions.<SessionName>.TLSConnect n?o Encryption type for PostgreSQL connection.
<SessionName> - define name of a session for using in item keys.

Supported values:
required - connect using TLS as transport mode without identity checks;
verify_ca - connect using TLS and verify certificate;
verify_full - connect using TLS, verify certificate and verify that database identity (CN) specified by DBHost matches its certificate.
Undefined encryption type means unencrypted connection.
Plugins.PostgreSQL.Sessions.<SessionName>.TLSKeyFile n?o
(sim, se Plugins.PostgreSQL.Sessions.<SessionName>.TLSConnect estiver configurado para: verify_ca, verify_full)
Full pathname of a file containing the PostgreSQL private key.
<SessionName> - define name of a session for using in item keys.
Plugins.PostgreSQL.Sessions.<SessionName>.Uri n?o Connection string of a named session.
<SessionName> - define name of a session for using in item keys.

Should not include embedded credentials (they will be ignored).
Must match the URI format.
Supported schemes: tcp, unix.
Examples: tcp://127.0.0.1:5432
tcp://localhost
unix:/var/run/postgresql/.s.PGSQL.5432
Plugins.PostgreSQL.Sessions.<SessionName>.User n?o Named session username.
<SessionName> - define name of a session for using in item keys.
Plugins.PostgreSQL.System.Path sim Path to external plugin executable. Supported since Áú»¢¶Ä²© 6.0.10.
Plugins.PostgreSQL.Timeout n?o 1-30 global timeout Request execution timeout (how long to wait for a request to complete before shutting it down).

Veja tamb¨¦m: