rabbitmq-zabbix icon indicating copy to clipboard operation
rabbitmq-zabbix copied to clipboard

Name of a queue containing space and comma characters

Open leweafan opened this issue 6 years ago • 1 comments

We have a problem with zabbix sender if name of a queue containing space and comma characters like "Queue, Name". According to https://www.rabbitmq.com/queues.html it's allowed.

According to https://www.zabbix.com/documentation/3.4/manpages/zabbix_sender

Double-quote and backslash characters inside quoted entry must be escaped with a backslash.

Can you add a fix for this problem?

leweafan avatar Jul 30 '18 18:07 leweafan

I don't spend a huge amount of time on Zabbix/RabbitMQ right now - shouldn't be SUPER hard to do this kinda thing though. Just have to do the conversion on both sides I believe - api.py can be updated to convert the queue names to url encoded or spaced or similar. Probably pretty easy to write tests for these cases as well.

If you want to work and add support & tests for this, feel free. Otherwise, it's likely to be a bit of time before I'd be able to add any kind of support here - just too much else going on :(

jasonmcintosh avatar Jul 31 '18 15:07 jasonmcintosh