Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

how to filter default queue? #104

Open
huangyonghome opened this issue May 30, 2019 · 2 comments
Open

how to filter default queue? #104

huangyonghome opened this issue May 30, 2019 · 2 comments

Comments

@huangyonghome
Copy link

huangyonghome commented May 30, 2019

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!

@jasonmcintosh
Copy link
Owner

#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).

@huangyonghome
Copy link
Author

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants