We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 693fb4c commit e9ffb69Copy full SHA for e9ffb69
1 file changed
ejabberd
@@ -78,7 +78,7 @@ connected_users.info Number of logged in users'
78
. /usr/share/munin/plugins/plugin.sh
79
for vhost in $vhosts; do
80
field=${vhost}_connected
81
- field="$(clean_fieldname "$vhost")"
+ field="$(clean_fieldname "$field")"
82
field_label="connected users - $vhost"
83
field_info="Number of logged in users on $vhost"
84
echo "$field.label $field_label"
@@ -111,7 +111,7 @@ if [ -n "$vhosts" ]; then
111
112
113
114
115
echo -n "$field.value "
116
$ejabberdctl $params stats_host onlineusers $vhost
117
done
0 commit comments