长风1959

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

zabbix监控rabbitmq,rabbitmq端需做配置

# rabbitmqctl add_user zbx_monitor zabbix
Creating user "zbx_monitor" ...
...done.
# rabbitmqctl set_user_tags zbx_monitor monitoring
Setting tags for user "zbx_monitor" to [monitoring] ...
...done.
# rabbitmqctl set_permissions -p / zbx_monitor ".*" ".*" ".*"
Setting permissions for user "zbx_monitor" in vhost "/" ...
...done.
# 



# rabbitmq-plugins enable rabbitmq_management
The following plugins have been enabled:
  mochiweb
  webmachine
  rabbitmq_web_dispatch
  amqp_client
  rabbitmq_management_agent
  rabbitmq_management
Plugin configuration has changed. Restart RabbitMQ for changes to take effect.
# systemctl restart rabbitmq-server
# netstat -antulp|grep -i listen |grep 15672
tcp        0      0 0.0.0.0:15672           0.0.0.0:*               LISTEN      5067/beam.smp       
# 

 

posted on 2022-07-29 17:31  长风1959  阅读(338)  评论(0编辑  收藏  举报