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

how to filter default queue?

Open huangyonghome opened this issue 5 years ago • 2 comments

I just imported and applied the rabbitmq-zabbix templates on rabbitmq server.

but I found there where more then 7800 items about Rabbitmq . Most of the items are RabbitMQ random queues ,the name starts with "amq".

below is the snapshot: image

Now , The rabbitmq server ruined my zabbix server. When I check the "latest data" ,the zabbix server threw below errors,I increase the value of "memory_limit" in php.ini file though:

PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /usr/share/zabbix/include/classes/html/CTag.php on line 269,

And, I can't delete the rabbitmq host from zabbix Web console.

Could you please tell me how to filter the random queue that starts with "amq" ?

Thank you in advance!

huangyonghome avatar May 30 '19 10:05 huangyonghome

https://github.com/jasonmcintosh/rabbitmq-zabbix/issues/22

Right now, you can filter for "include" but not "exclude" stuff. The above look like auto generated queues - I don't know your environment to tell though for sure. You've got that many queues in a single vhost? That's likely to cause headaches. See the README.md for docs on how to filter to ONLY specific queues (likely better in your use case).

jasonmcintosh avatar May 31 '19 17:05 jasonmcintosh

@jasonmcintosh Thank you for your reply . I managed to resolved it follow the instructions in issues #77 :
But that instructions is not completed .Actually there are somewhere else need to do the same changes in the file zabbix/scripts/rabbitmq/api.py

huangyonghome avatar Jun 18 '19 02:06 huangyonghome