Skip to content

Commit

Permalink
Update product_docs/docs/pem/9/registering_agent.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
ebgitelman authored Jan 10, 2025
1 parent 7518ef7 commit 5408f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion product_docs/docs/pem/9/registering_agent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ set PEM_SERVER_PASSWORD=edb
| `--pem-server` | The IP address of the PEM backend database server. This parameter is required. |
| `--pem-port` | The port of the PEM backend database server. The default value is `5432`. |
| `--pem-user` | The name of a database user with the pem_admin role and the `rolcreaterole` flag set on the PEM backend database server, or a superuser. This user will be used to connect to the PEM server to perform agent registration. This parameter is required. |
| `--pem-agent-user` | The name of a database user on the PEM backend database server. After registration, the agent will use this user to open connections to the PEM database server to write probe data, evaluate alerts, and so on. This parameter is optional. If is omitted, the agent connects using a new user named `agent<N>` created during registration, where `<N>` is the agent ID. This user is always created. Even if you specify a `pem-agent-user`, the agent will use `SET ROLE agent<N>` to switch roles after the connection is made. |
| `--pem-agent-user` | The name of a database user on the PEM backend database server. After registration, the agent will use this user to open connections to the PEM database server to write probe data, evaluate alerts, and so on. This parameter is optional. If omitted, the agent connects using a new user named `agent<N>` created during registration, where `<N>` is the agent ID. This user is always created. Even if you specify a `pem-agent-user`, the agent will use `SET ROLE agent<N>` to switch roles after the connection is made. |
| `--pem-ssl-mode` | The [SSL mode](https://www.postgresql.org/docs/current/libpq-ssl.html#LIBPQ-SSL-PROTECTION) for the PEM agent user to use (see above). The possible values are `prefer`, `require`, `disable`, `verify-CA`, and `verify-full`. The default value is `require`. |
| `--cert-path` | The complete path to a directory in which to store certificates. If you don't provide a path, certificates are created in `~/.pem` on Linux and `%APPDATA%/pem` on Windows. |
| `--config-dir` | The directory path for the configuration file. The default is `<pemworker path>/../etc`. |
Expand Down

0 comments on commit 5408f1e

Please sign in to comment.