4 summary: Implementation of the Munin node protocol
10 This module implements the Munin reporting protocol, allowing you to
11 collect statistics directly from Prosody into Munin.
16 There is only one recommended option, `munin_node_name`, which specifies
17 the name that Prosody will identify itself by to the Munin server. You
18 may want to set this to the same hostname as in the [SRV record][doc:dns]
27 munin_node_name = "xmpp.example.com"
30 You will also want to enable statistics collection by setting:
33 statistics_interval = 300 -- every 5 minutes, same as munin
38 All these must be in [the global section][doc:configure#overview].
41 ----------------------- -------- ---------------------------
42 munin\_node\_name string `"localhost"`
43 munin\_ignored\_stats set `{ }`
44 munin\_ports set `{ 4949 }`
45 munin\_interfaces set `{ "0.0.0.0", "::" }`[^1]
47 [^1]: Varies depending on availability of IPv4 and IPv6
49 ## Ports and interfaces
52 `mod_munin` listens on port `4949` on all local interfaces by default.
53 This can be changed with the standard [port and network configuration][doc:ports]:
58 munin_ports = { 4949 }
59 munin_interfaces = { "::", "0.0.0.0" }
62 If you already have a `munin-node` instance running, you can set a
63 different port to avoid the conflict.
67 Simply add `munin_node_name` surrounded by brackets to `/etc/munin/munin.conf`:
71 address xmpp.example.com
75 You can leave out `address` if it equal to the name in brackets, and
76 leave out the `port` if it is the default (`4949`).
78 Setting `address` to an IP address may sometimes be useful as the Munin
79 collection server is not delayed by DNS lookups in case of network
82 If you set a different port, or if the hostname to connect to is
83 different from this hostname, make sure to add `port` and/or `address`
86 See [Munin documentation][muninconf] for more information.
91 **Requires** Prosody 0.10 or above
93 [muninconf]: http://guide.munin-monitoring.org/en/stable-2.0/reference/munin.conf.html