Syntax, Monitor options, Repl-monitor (monitors replication status) – Red Hat 8.1 User Manual

Page 215: Options, Configuration file format

Advertising
background image

Retrieves performance monitoring information using the ldapsearch command-line utility.

Syntax

m onitor

monitor Options

There are no options for this script.

For more information on the ldapsearch command-line utility, see

Section 6.8, “ldif”

.

7.3.11. repl-monitor (Monitors Replication Status)

Shows in-progress status of replication. repl-monitor is a shell script wrapper of repl-
m onitor.pl
to set the appropriate library path.

For more information on the Perl script, see

Section 7.4.17, “repl-monitor.pl (Monitors Replication

Status)”

.

Syntax

repl-m onitor [ -h host ] [ -p port ] [ -f configFile ] [ -u refreshUrl ] [ -t refreshInterval ] [ -r ]
[ -v ]

Options

Table 7.11. repl-monitor Options

Option

Description

-h host

Specifies the initial replication supplier's host.
The default value is the current hostname.

-f configFile

Specifies the absolute path to the configuration
file, which defines the connection parameters
used to connect to LDAP servers to get
replication information. For more information about
the configuration file, see

Configuration File

Format

.

-p port

Specifies the initial replication supplier's port. The
default value is 389.

-r

If specified, causes the routine to be entered
without printing the HTML header information.
This is suitable when making multiple calls to this
routine — such as specifying multiple, different,
unrelated supplier servers — and expecting a
single HTML output.

-t refreshInterval

Specifies the refresh interval in seconds. The
default value is 300 seconds. This option must
be used with the -u option.

-u refreshUrl

Specifies the refresh URL. The output HTML file
may invoke a CGI program periodically. If this CGI
program in turn calls this script, the effect is that
the output HTML file would automatically refresh
itself. This is useful for continuous monitoring.
See also the -t option. The script has been
integrated into Red Hat Administration Express,
so that the replication status can be monitored
through a web browser.

-v

Prints the version of this script.

Configuration File Format

The configuration file defines the following:

The connection parameters for connecting to the LDAP servers to get replication information;
specifying this information is mandatory.
The server alias for more readable server names; specifying this information is optional.
The color thresholds for time lags; specifying this information is optional.

The format for the configuration file is shown below.

Red Hat Directory Server 8.1 Configuration and Command Reference

215

Advertising