kopano-monitor.8 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. '\" t
  2. .\" Title: kopano-monitor
  3. .\" Author: [see the "Author" section]
  4. .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
  5. .\" Date: November 2016
  6. .\" Manual: Kopano Core user reference
  7. .\" Source: Kopano 8
  8. .\" Language: English
  9. .\"
  10. .TH "KOPANO\-MONITOR" "8" "November 2016" "Kopano 8" "Kopano Core user reference"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. kopano-monitor \- Start the Kopano monitor\&.
  32. .SH "SYNOPSIS"
  33. .HP \w'\fBkopano\-monitor\fR\ 'u
  34. \fBkopano\-monitor\fR [\fIOPTION\fR...] [\fISERVERNAME\fR]
  35. .SH "DESCRIPTION"
  36. .PP
  37. The monitor checks user mailbox sizes\&. When the quota is reached the monitor sends a quota email\&. When started, the program will keep running\&.
  38. .PP
  39. The defaults can be overwritten in the config file\&.
  40. .PP
  41. The default settings of the monitor program are defined in
  42. \fBkopano-monitor.cfg\fR(5)\&.
  43. .SH "OPTIONS"
  44. .PP
  45. Various options are possible\&. None of these options are required\&.
  46. .PP
  47. \fB\-\-config\fR, \fB\-c\fR \fImonitor\&.cfg\fR
  48. .RS 4
  49. Specify the location of the monitor\&.cfg file\&. If the monitor\&.cfg file is not specified, the monitor will try to load
  50. /etc/kopano/monitor\&.cfg\&. If that file is not present, it will continue using its default settings\&.
  51. .sp
  52. Default:
  53. \fI/etc/kopano/monitor\&.cfg\fR
  54. .RE
  55. .PP
  56. \fB\-\-host\fR, \fB\-h\fR \fIpath\fR
  57. .RS 4
  58. Connect to the storage server through
  59. \fIpath\fR, e\&.g\&.
  60. file:///path/to/socket\&. Default:
  61. file:///var/run/kopano/server\&.sock\&.
  62. .RE
  63. .PP
  64. \fB\-\-foreground\fR, \fB\-F\fR
  65. .RS 4
  66. Run in the foreground\&. Normally the monitor will daemonize and run in the background\&.
  67. .RE
  68. .SH "SIGNALS"
  69. .PP
  70. The following signals can be sent to the kopano\-monitor process:
  71. .PP
  72. \fBHUP\fR
  73. .RS 4
  74. When the HUP signal is received, some options from the configuration file are reloaded\&. The reloadable options are listed in the
  75. \fBkopano-monitor.cfg\fR(5)
  76. manual page\&.
  77. .sp
  78. Also, when using
  79. \fIlog_method = file\fR, the logfile will be closed and a new logfile will be opened\&. You can use this signal in your logrotate system\&.
  80. .RE
  81. .PP
  82. \fBTERM\fR
  83. .RS 4
  84. To gracefully let the service exit, the normal TERM signal is used\&.
  85. .RE
  86. .SH "USAGE"
  87. .PP
  88. The monitor checks user mailbox sizes\&. The monitor sends a quota email when the warning quota limit is reached\&. When started, the program will keep running\&. You may also use the init\&.d scripts:
  89. .PP
  90. \fB/etc/init\&.d/kopano\-monitor\fR
  91. [\fIstart\fR|
  92. \fIstop\fR|
  93. \fIrestart\fR]
  94. .SH "AUTHOR"
  95. .PP
  96. Written by Kopano\&.
  97. .SH "SEE ALSO"
  98. .PP
  99. \fBkopano-monitor.cfg\fR(5),
  100. \fBkopano-server\fR(8)