Open huangyonghome opened 4 years ago
This sounds like a more intermittent bug with rabbit's management API. Debugging auth on rabbit's side... well, that's a challenge and not sure got a good solution for you sadly. I've been out of this for a while so not sure how much I could help :( If it was a consistent problem, then yeah it is likely a configuration on the monitoring OR a bug in the monitoring code. Being intermittent makes that highly unlikely (unless you're removing & recreating the auth config file?) If it's server side, could be anything from a rate limit to a bug in rabbit to anything. I'd suggest adding debugging output to output the username it's using to connect and similar steps.
I have encountered two problems (seems a little bug) :
The zabbix server reports and clears an alarm frequently:![image](https://user-images.githubusercontent.com/40015415/66727992-fe34c900-ee74-11e9-8129-f139501e3b91.png)
I found the similar issues:https://github.com/jasonmcintosh/rabbitmq-zabbix/issues/85 But I don't think this problem is caused by Regular expressions . Because the alarm status is not regular but frequent jitter.
I also found the similar issue:https://github.com/jasonmcintosh/rabbitmq-zabbix/issues/90
But the difference is:
A: I defined the administrator account in .rab.auth config file .(not monitoring account) B: I test manual on zabbix server and rabbitmq server , and I can get the correct values:
Could you please help me fix this ? thank you very much