You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: product_docs/docs/pem/10/registering_agent.mdx
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,8 @@ If you don't want the installer to register the agent, clear the **Register now*
26
26
## Registering a PEM agent using the pemworker utility
27
27
28
28
The pemworker utility is installed automatically with the PEM agent. It's located in the `/usr/edb/pem/agent/bin` directory on Linux and `C:\Program Files\edb\pem\agent-x64\bin` on Windows.
29
-
To register an agent, set the PEM server password, invoke the utility as shown in the examples, and add the relevant options from the table as needed. Follow each option with a corresponding value.
29
+
30
+
To register an agent, set the PEM server database user password, invoke the utility as shown in the examples, and add the relevant options from the table as needed. Follow each option with a corresponding value.
|`--pem-server`| The IP address of the PEM backend database server. This parameter is required. |
50
51
|`--pem-port`| The port of the PEM backend database server. The default value is `5432`. |
51
-
|`--pem-user`| The name of a database with the `pem_admin` role and the `rolcreaterole` flag set (or a superuser) on the PEM backend database server. This user will be used to connect to the PEM server to perform agent registration. This parameter is required. |
52
+
|`--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. |
52
53
|`--pem-agent-user`| The name of a database user on the PEM server 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, etc. This parameter is optional. If omitted, the agent will connect using a new user created during registration named `agent<N>` where `<N>` is the agent ID. Note that this user is always created and even if you specify a `pem-agent-user` the agent will use `SET ROLE agent<N>` to switch roles after the connection is made. |
53
54
|`--pem-ssl-mode`| The [SSL mode](https://www.postgresql.org/docs/current/libpq-ssl.html#LIBPQ-SSL-PROTECTION) to be used by the PEM agent user (see above). The possible values are `prefer`, `require`, `disable`, `verify-CA`, and `verify-full`. The default value is `require`. |
54
55
|`--cert-path`| The complete path to a directory in which certificates will be stored. If you don't provide a path, certificates are created in `~/.pem` on Linux and `%APPDATA%/pem` on Windows. |
Copy file name to clipboardExpand all lines: product_docs/docs/pem/9/registering_agent.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ If you don't want the installer to register the agent, clear the **Register now*
28
28
29
29
The pemworker utility is installed with the PEM agent. It's located in `/usr/edb/pem/agent/bin` on Linux and `C:\Program Files\edb\pem\agent-x64\bin` on Windows.
30
30
31
-
To register an agent, set the PEM server password, invoke the utility as shown in the examples, and add the relevant options from the table as needed. Follow each option with a corresponding value.
31
+
To register an agent, set the PEM server database user password, invoke the utility as shown in the examples, and add the relevant options from the table as needed. Follow each option with a corresponding value.
0 commit comments