Closed bufadu closed 8 years ago
What version of collectd-rabbitmq are you using ? What are you vhost name are you expecting ?
I'm poking at it now.
I'm using the collectd-rabbitmq version 1.7.1.
My rabbitMQ contains two vhosts : /
and /foo
. My understanding is that they should be renamed as rabbitmq_default
and rabbitmq_slash_foo
when passed to collectd. Am I right ?
Instead of that, both name appears url encoded as rabbitmq_%2F
and rabbitmq_%2Ffoo
in collectd output. For instance :
/var/lib/collectd/rrd/rabbitmq_%2F/queues-hello/get.rrd
This is also the behavior on current master, e.g. rabbitmq_%2F
.
Thanks @bufadu and @redterror I just put a fix in.
Hi, I'm using collectd-rabbitmq with collectd 5.4.1 and I have a very strange behavior with vhost naming : '/' is url encoded like :
instead of
In rabbit.py, vhost name is url encoded
Unless I missed something, there is no
urllib.unquote()
neither before nor ingenerate_vhost_name()
.Thanks !