jasonmcintosh / rabbitmq-zabbix

Zabbix RabbitMQ Configuration
Apache License 2.0
251 stars 168 forks source link

Zabbix Server could not get data, while the zabbix agent shows "Started trying to process data ......." #100

Closed snowkity2005 closed 5 years ago

snowkity2005 commented 6 years ago

I installed the project on my rabbitmq server, while the log shows the following: "2018-09-06 16:50:27,611 DEBUG: Started trying to process data 2018-09-06 16:50:27,612 DEBUG: Issue a rabbit API call to get data on queues against dev-amq 2018-09-06 16:50:27,612 DEBUG: Full URL:http://10.171.23.5:8161/api/queues 2018-09-06 16:50:27,698 DEBUG: Started trying to process data 2018-09-06 16:50:27,698 DEBUG: Issue a rabbit API call to get data on shovels against dev-amq 2018-09-06 16:50:27,699 DEBUG: Full URL:http://10.171.23.5:8161/api/shovels" The zabbix server could not receive the data, why? Help me, please!

snowkity2005 commented 6 years ago

While I run the command 'zabbix_agentd -t "rabbitmq[server,fd_total]"' in the rabbitmq server, give me the following error: "urllib2.HTTPError: HTTP Error 404: Not Found]"

jasonmcintosh commented 6 years ago

If you're getting 404.. check via curl commands, but likely means you don't have the management extensions or something is missing in your rabbit config. OR you're pointing to the wrong host. OR your rabbit isn't listening on the IP you've listed (10.171.23.5). Also... GENERALLY... 8161 isn't the rabbitmq port. 115672 is generally the management API port.

jasonmcintosh commented 5 years ago

Closing can reopen if there's an issue.