diff --git a/plugins/djabberd/djabberd_ b/plugins/djabberd/djabberd_ index 46e7227f..14dea8f2 100644 --- a/plugins/djabberd/djabberd_ +++ b/plugins/djabberd/djabberd_ @@ -206,7 +206,7 @@ elsif ( $ARGV[0] and $ARGV[0] eq "config" ) { print "graph_title " . $mode->{'title'} . "\n"; print "graph_vlabel " . $mode->{'vlabel'} . "\n"; print "graph_args -l 0\n"; - print "graph_category jabber\n"; + print "graph_category chat\n"; foreach my $field_name ( keys %{ $mode->{'fields'} } ) { my $label = $mode->{'fields'}->{$field_name}->{'label'} || $field_name; my $desc = $mode->{'fields'}->{$field_name}->{'description'} || $mode->{'fields'}->{$field_name}->{'key'}; diff --git a/plugins/ejabberd/ejabberd_resources_ b/plugins/ejabberd/ejabberd_resources_ index e04b0090..d820b2de 100755 --- a/plugins/ejabberd/ejabberd_resources_ +++ b/plugins/ejabberd/ejabberd_resources_ @@ -306,7 +306,7 @@ SUGGESTIONS cat < xmpp server. + +This wildcard plugin provides at the moment only the suffixes C, C, C, C and C suffixes. + +=head1 INSTALLATION + +It is very simple to install the plugin. + +=over 2 + + cd /usr/share/munin/plugins (or your munin plugins directory) + wget https://github.com/jarus/munin-prosody/raw/master/prosody_ + chmod 755 prosody_ + + ln -s /usr/share/munin/plugins/prosody_ /etc/munin/plugins/prosody_c2s + ln -s /usr/share/munin/plugins/prosody_ /etc/munin/plugins/prosody_s2s + ln -s /usr/share/munin/plugins/prosody_ /etc/munin/plugins/prosody_presence + ln -s /usr/share/munin/plugins/prosody_ /etc/munin/plugins/prosody_uptime + ln -s /usr/share/munin/plugins/prosody_ /etc/munin/plugins/prosody_users + +=back + +After the installation you need to restart your munin-node: + +=over 2 + + service munin-node restart + +=back + +=head1 CONFIGURATION + +When you want to change the default host (localhost) and port (5582) do it in a file named prosody +placed in the directory /etc/munin/plugin-conf.d/ with a config like this: + +=over 2 + + [prosody_*] + env.host example.com + env.port 5582 + +=back + +If you want to get the number of registered users, add the following lines to /etc/munin/plugin-conf.d/prosody: + +=over 2 + + [prosody_users] + user prosody + group prosody + +=back + +=head1 VERSION + +Version 2.2 + +=head1 BUGS + +None known + +=head1 AUTHOR + +(C) 2010 Christoph Heer + +=head1 LICENSE + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the \"Software\"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +=cut + + +"""