repl-monitor man page

repl-monitor — Directory Server replication monitor

Synopsis

repl‐monitor [-f configuration‐file] [‐h host] [-p port] [-r] [-c connection] [-a alias] [-k color] [-u refresh‐url] [-s] [-t refresh‐interval] [-v]

Description

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)

lowmark = color

Example

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

Author

repl-monitor was written by the 389 Project.

Reporting Bugs

Report bugs to https://fedorahosted.org/389/newticket.

Referenced By

cl-dump(1).

Jun 28, 2016