Perl Scripts
288 Red Hat Directory Server Configuration, Command, and File Reference • May 2005
template-repl-monitor.pl (Monitor replication status)
Shows in-progress status of replication.
Syntax
Options
-c Dumps and interprets CSN only. This option can be used with
or without the -i option.
-v Prints the version of the script.
Perl script:
template-repl-monitor.pl -h host -p port -f
configFile [-u refreshUrl] [-t refreshInterval] [-r] [-v]
Optio
n
Parameter Description
-h host Specifies the initial replication supplier’s host. The default
value is the current hostname.
-p port Specifies the initial replication supplier’s port. The default
value is 389.
-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,”
that follows this table.
-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, enabling you to monitor replication status via that
interface.
Optio
n
Parameter Description