Chapter 7. Command-Line Scripts
286
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-
monitor.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-monitor
[ -h
host
] [ -p
port
] [ -f
configFile
] [ -u
refreshUrl
] [ -t
refreshInterval
]
[ -r ] [ -v ]
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.
Table 7.11. repl-monitor Options
Summary of Contents for 8.1
Page 8: ...viii ...
Page 14: ...xiv ...
Page 16: ...2 ...
Page 250: ...236 ...
Page 334: ...320 ...
Page 372: ...358 ...