summaryrefslogtreecommitdiff
path: root/files/munin
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-04-05 22:10:01 +0200
committermh <mh@immerda.ch>2011-04-05 22:10:01 +0200
commitb16aca869c080a7381c884e56ebbe66f928945e8 (patch)
treebf9b113c5beea2af4a1c7993c1bd0a30c1b6b5e6 /files/munin
parent8218cadb30b6cc955137fa20246bb9bbd472f519 (diff)
downloadpuppet-ejabberd-b16aca869c080a7381c884e56ebbe66f928945e8.tar.gz
puppet-ejabberd-b16aca869c080a7381c884e56ebbe66f928945e8.tar.bz2
fix munin plugins for new versions
Diffstat (limited to 'files/munin')
-rwxr-xr-xfiles/munin/ejabberd_2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/munin/ejabberd_ b/files/munin/ejabberd_
index e68bdf2..84f52bd 100755
--- a/files/munin/ejabberd_
+++ b/files/munin/ejabberd_
@@ -153,7 +153,7 @@ if [ "$MODE" == "registrations" ]; then
for host in $vhosts; do
formathost=$(echo $host | tr '.-' '_')
echo -n "registered_$formathost.value ";
- num=$($EJCTL vhost $host registered-users)
+ num=$($EJCTL registered-users $host)
if [ "$?" != 0 ]; then
echo "U"
else