summaryrefslogtreecommitdiff
path: root/files/munin
diff options
context:
space:
mode:
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