diff options
author | Mickaël Rémond <mickael.remond@process-one.net> | 2007-06-25 07:15:30 +0000 |
---|---|---|
committer | Mickaël Rémond <mickael.remond@process-one.net> | 2007-06-25 07:15:30 +0000 |
commit | 009339a95670a58fc2d50d4e40e0d8b9e97f5f74 (patch) | |
tree | c23f900f3c15edefb3499eaec53926d2dd9ad378 | |
parent | * src/mod_irc/mod_irc.erl: Added an option for default IRC (diff) |
* doc/guide.tex: Watchdog alert documentation
* src/ejabberd.cfg.example: Likewise
SVN Revision: 790
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | doc/guide.tex | 18 | ||||
-rw-r--r-- | src/ejabberd.cfg.example | 5 |
3 files changed, 28 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2007-06-25 Mickael Remond <mickael.remond@process-one.net> + + * doc/guide.tex: Watchdog alert documentation + * src/ejabberd.cfg.example: Likewise + 2007-06-22 Alexey Shchepin <alexey@sevcom.net> * src/mod_irc/mod_irc.erl: Added an option for default IRC diff --git a/doc/guide.tex b/doc/guide.tex index dbc70a8fb..55d2f6926 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -3178,6 +3178,24 @@ domain. %\label{backup} %\ind{backup} +\section{Debugging} +\label{debugging} +\ind{debugging} + +\subsection{Watchdog alerts} +\label{watchdog} +\ind{debugging!watchdog} + +ejabberd including a watchdog mechanism to be notified in realtime +through XMPP when any processus consumes too much memory. + +To enable the watchdog, add the \term{watchdog\_admins} +\ind{options!watchdog\_admins} option in the config file: + +\begin{verbatim} +{watchdog_admins, [``admin@localhost'']}. +\end{verbatim} + \appendix{} \section{Internationalization and Localization} \label{i18nl10n} diff --git a/src/ejabberd.cfg.example b/src/ejabberd.cfg.example index b5e5559e1..f649d71b5 100644 --- a/src/ejabberd.cfg.example +++ b/src/ejabberd.cfg.example @@ -45,6 +45,11 @@ %{registration_watchers, ["admin1@localhost", % "admin2@localhost"]}. +% Debug: +% watchdog admins receive live notifications on ejabberd process consuming too +% much memory +% {watchdog_admins, ["admin1@localhost"]}. + % Only admins can send announcement messages: {access, announce, [{allow, admin}]}. |