Chapter 7. Command-Line Scripts
312
Option
Description
used to connect to LDAP servers to get
replication information. For more information
about the configuration file, see
Configuration
File Format
.
-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
.
-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.32. repl-monitor.pl Options
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.
[connection]
host:port:binddn:bindpwd:bindcert
host:port:binddn:bindpwd:bindcert
...
[alias]
alias = host:port
alias = host:port
Содержание 8.1
Страница 8: ...viii ...
Страница 14: ...xiv ...
Страница 16: ...2 ...
Страница 250: ...236 ...
Страница 334: ...320 ...
Страница 372: ...358 ...