Mercurial > prosody-wiki
comparison mod_xml_status.wiki @ 252:ec2b94f02b31
added wiki.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Fri, 06 Jan 2012 23:29:04 +0000 |
parents | |
children | 97f27542295a |
comparison
equal
deleted
inserted
replaced
251:1da94ec1f030 | 252:ec2b94f02b31 |
---|---|
1 #summary XML server status plugin | |
2 #labels Stage-Beta | |
3 | |
4 = Introduction = | |
5 | |
6 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]. | |
7 | |
8 = Usage = | |
9 | |
10 Copy the file into prosody's module directory and place it into your global's enabled modules. | |
11 | |
12 Configuration example: | |
13 {{{ | |
14 xml_status_http_ports = {{ port = 5280, path = "mystatsbasepath" }} | |
15 xml_status_show_hosts = { "iwanttoshowifthishostisonline.com", "iwanttoshowifthishostisonline2.com" } | |
16 xml_status_show_comps = { "muc.iwanttoshowifthishostisonline.com", "transport.iwanttoshowifthishostisonline.com" } | |
17 }}} | |
18 | |
19 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 | |
20 | |
21 = Compatibility = | |
22 | |
23 * 0.8+ Works. |