Mercurial > prosody-wiki
changeset 252:ec2b94f02b31
added wiki.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Fri, 06 Jan 2012 23:29:04 +0000 |
parents | 1da94ec1f030 |
children | 97f27542295a |
files | mod_xml_status.wiki |
diffstat | 1 files changed, 23 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_xml_status.wiki Fri Jan 06 23:29:04 2012 +0000 @@ -0,0 +1,23 @@ +#summary XML server status plugin +#labels Stage-Beta + += Introduction = + +This module fetches the current status of configured hosts and/or stanza statistics from [http://code.google.com/p/prosody-modules/wiki/mod_stanza_counter#mod_stanza_counter]. + += Usage = + +Copy the file into prosody's module directory and place it into your global's enabled modules. + +Configuration example: +{{{ +xml_status_http_ports = {{ port = 5280, path = "mystatsbasepath" }} +xml_status_show_hosts = { "iwanttoshowifthishostisonline.com", "iwanttoshowifthishostisonline2.com" } +xml_status_show_comps = { "muc.iwanttoshowifthishostisonline.com", "transport.iwanttoshowifthishostisonline.com" } +}}} + +if mod_stanza_counter isn't loaded the plugin will require at least either xml_status_show_hosts or xml_status_show_comps to be set + += Compatibility = + + * 0.8+ Works.