repl-monitor.1 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. .\" Hey, EMACS: -*- nroff -*-
  2. .\" First parameter, NAME, should be all caps
  3. .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
  4. .\" other parameters are allowed: see man(7), man(1)
  5. .TH REPL-MONITOR 1 "Jun 28, 2016"
  6. .\" Please adjust this date whenever revising the manpage.
  7. .\"
  8. .\" Some roff macros, for reference:
  9. .\" .nh disable hyphenation
  10. .\" .hy enable hyphenation
  11. .\" .ad l left justify
  12. .\" .ad b justify to both left and right margins
  13. .\" .nf disable filling
  14. .\" .fi enable filling
  15. .\" .br insert line break
  16. .\" .sp <n> insert n+1 empty lines
  17. .\" for manpage-specific macros, see man(7)
  18. .SH NAME
  19. repl-monitor \- Directory Server replication monitor
  20. .SH SYNOPSIS
  21. .B repl\(hymonitor
  22. \ [\-f configuration\(hyfile] [\fI\(hyh host\fR] [\fI\-p port\fR] [\fI\-r\fR]
  23. [\fI\-c connection\fR] [\fI\-a alias\fR] [\fI\-k color\fR] [\fI\-u refresh\(hyurl\fR]
  24. [\fI\-s\fR] [\fI\-t refresh\(hyinterval\fR] [\fI\-v\fR]
  25. .SH DESCRIPTION
  26. Outputs the status of all of the configured Directory Servers
  27. participating in replication. The servers to query for status
  28. are specified in the configuration file.
  29. .PP
  30. .\" TeX users may be more comfortable with the \fB<whatever>\fP and
  31. .\" \fI<whatever>\fP escape sequences to invode bold face and italics,
  32. .\" respectively.
  33. .SH OPTIONS
  34. A summary of options is included below:
  35. .TP
  36. .B \-h, \-\-host\fR host
  37. Hostname of DS server
  38. .TP
  39. .B \-p, \-\-port\fR port
  40. TCP port
  41. .TP
  42. .B \-f, \-\-configfile\fR configuration-file
  43. Configuration file
  44. .TP
  45. .B \-c, \-\-conn\fR connection
  46. Uses the same format as the configfile directive
  47. .TP
  48. .B \-a, \-\-alias\fR alias
  49. Uses the same format as the configfile directive
  50. .TP
  51. .B \-k, --color\fR color
  52. Uses the same format as the configfile directive
  53. .TP
  54. .B \-r, --skip-header\fR
  55. Removes extra HTML tags
  56. .TP
  57. .B \-u, \-\-refreshurl\fR refresh url
  58. Refresh url
  59. .TP
  60. .B \-t, \-\-interval\fR refresh interval
  61. Refresh interval
  62. .TP
  63. .B \-W, \-\-prompt
  64. Prompt for passwords
  65. .TP
  66. .B \-s, \-\-text
  67. Print plain text report
  68. .br
  69. .SH CONFIGURATION FILE
  70. This section describes the various directives that can be used in the configuration file.
  71. .TP
  72. .B [connection]
  73. The connection details about a replica
  74. .br
  75. host:port:binddn:bindpwd:cert_file
  76. .br
  77. or,
  78. .br
  79. host:port=shadowport:binddn:bindpwd:cert_file
  80. .TP
  81. .B [alias]
  82. Define an alias for a server, this alias is used in the report in place of the
  83. hostname/port
  84. .br
  85. alias = host:port
  86. .TP
  87. .B [color]
  88. Set a color based on the replicaton lag time lowmark (in minutes)
  89. .br
  90. .R lowmark = color
  91. .SH EXAMPLE
  92. Example of a configuration file:
  93. [connection]
  94. .br
  95. localhost.localdomain:3891:cn=directory manager:password:*
  96. .br
  97. localhost2.localdomain:3892:cn=directory manager:password:*
  98. [alias]
  99. .br
  100. MY_SYSTEM1 = localhost.localdomain:3891
  101. .br
  102. MY_SYSTEM2 = localhost2.localdomain:3892
  103. [color]
  104. .br
  105. 0 = #CCFFCC
  106. .br
  107. 5 = #FFFFCC
  108. .br
  109. 60 = #FFCCCC
  110. .SH AUTHOR
  111. repl-monitor was written by the 389 Project.
  112. .SH "REPORTING BUGS"
  113. Report bugs to https://fedorahosted.org/389/newticket.
  114. .SH COPYRIGHT
  115. Copyright \(co 2001 Sun Microsystems, Inc. Used by permission.
  116. .br
  117. Copyright \(co 2016 Red Hat, Inc.
  118. .br
  119. This manual page was written by Michele Baldessari <[email protected]>,
  120. for the Debian project (but may be used by others).
  121. .br
  122. Manual page updated by Mark Reynolds <[email protected]> 6/28/2016
  123. .br
  124. This is free software. You may redistribute copies of it under the terms of
  125. the Directory Server license found in the LICENSE file of this
  126. software distribution. This license is essentially the GNU General Public
  127. License version 3 with an exception for plug\(hyin distribution.