repl-monitor1
Directory server replication monitor
Usage
repl‐monitor.pl [-f configuration‐file] [‐h host] [-p port] [-r] [-c connection] [-a alias] [-k color] [-u refresh‐url] [-s] [-t refresh‐interval] [-v]
Overview
Outputs the status of all of the configured Directory Servers participating in replication. The servers to query for status are specified in the configuration file.
Options
A summary of options is included below:
-
-h, --host host -
Hostname of DS server
-
-p, --port port -
TCP port
-
-f, --configfile configuration-file -
Configuration file
-
-c, --conn connection -
Uses the same format as the configfile directive
-
-a, --alias alias -
Uses the same format as the configfile directive
-
-k, --color color -
Uses the same format as the configfile directive
-
-r, --skip-header -
Removes extra HTML tags
-u, --refreshurl refresh url
|
Refresh url |
|---|---|
-t, --interval refresh interval
|
Refresh interval |
-
-W, --prompt -
Prompt for passwords
-
-s, --text -
Print plain text report
Configuration file
This section describes the various directives that can be used in the configuration file.
[connection]-
The connection details about a replica
host:port:binddn:bindpwd:cert_file
or,
host:port=shadowport:binddn:bindpwd:cert_file
[alias]-
Define an alias for a server, this alias is used in the report in place of the hostname/port
alias = host:port
[color]-
Set a color based on the replicaton lag time lowmark (in minutes)
Examples
Example of a configuration file:
[connection]
localhost.localdomain:3891:cn=directory manager:password:*
localhost2.localdomain:3892:cn=directory manager:password:*
[alias]
MY_SYSTEM1 = localhost.localdomain:3891
MY_SYSTEM2 = localhost2.localdomain:3892
[color]
0 = #CCFFCC
5 = #FFFFCC
60 = #FFCCCC
Releases
3 releases since Debian 8 (Jessie); the text changed 2 times.