Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update product_docs/docs/pem/9/registering_agent.mdx
Browse files Browse the repository at this point in the history
ebgitelman authored Jan 10, 2025
1 parent 75cad88 commit 7518ef7
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
@@ -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 this option 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 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-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`. |

0 comments on commit 7518ef7

Please sign in to comment.