4 summary: Server status plugin
10 This module fetches the current status of configured hosts and/or stanza
12 [mod\_stanza\_counter](http://code.google.com/p/prosody-modules/wiki/mod_stanza_counter#).
13 And outputs it in either XML or JSON format.
18 Copy the file into prosody's module directory and place it into your
19 global's enabled modules.
21 Configuration example:
23 server_status_basepath = "/server-info/"
24 server_status_show_hosts = { "iwanttoshowifthishostisonline.com", "iwanttoshowifthishostisonline2.com" }
25 server_status_show_comps = { "muc.iwanttoshowifthishostisonline.com", "transport.iwanttoshowifthishostisonline.com" }
26 server_status_json = true
28 By default the plugin's output is in XML, setting server\_status\_json
29 to "true" will turn it into JSON instead. if mod\_stanza\_counter isn't
30 loaded the plugin will require at least either
31 server\_status\_show\_hosts or server\_status\_show\_comps to be set.
36 - This is only compatible with 0.9 for older versions please look at
37 the 0.8-diverge branch.