|
Configuration of PgRplStatTest
This test reports whether/not the replication process is enabled on the target database server and also helps administrators figure out if the target database server is the master or not. Additionally, this test reports the count of replica servers connected to the target database server.
The default parameters associated with this test are:
In order to monitor a PostgreSQL server, you need to manually create a special database user account in every PostgreSQL database instance that requires monitoring. When doing so, ensure that this user is vested with the superuser privileges. The sample script we recommend for user creation for eG monitoring is:
CREATE ROLE eguser LOGIN
ENCRYPTED PASSWORD {‘eguser password’}
SUPERUSER NOINHERIT NOCREATEDB NOCREATEROLE;
Specify the name of this user in the USERNAME text box.
To make diagnosis more efficient and accurate, eG embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test, by default, for a particular server, choose the On option against DETAILED DIAGNOSIS. To disable the capability, click on the Off option.
The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:
When changing the configuration for specific servers, a “*” beside the text box corresponding to the parameter signifies that these values have to be manually configured by the user. The parameter values that require to be configured will typically be prefixed with a “$” or contain a series of “*”. A value of “none” in the parameter value indicates that the corresponding parameter value can be changed if required.
|