# This is the monitoring configuration for RabbitMQ. # Look for RABBITMQ_HOST and RABBITMQ_PORT to adjust your configuration file. LoadPlugin curl_json # Each queue needs a separate URL section that points to # http://localhost:15672/api/queues/vhost/QUEUE_NAME . # Replace QUEUE_NAME in the URL section with the name of the queue. # # NOTE: The vhost and queue name must be URL-encoded. # Being that the default vhost is a forward slash "/", # we encode this as "%2F". # When using non-standard RabbitMQ configurations, replace the below with # User "guest" Password "guest" Instance "rabbitmq-QUEUE_NAME" Type "gauge" Type "gauge" Type "gauge" Type "gauge" Type "gauge" Type "gauge" LoadPlugin match_regex LoadPlugin target_set LoadPlugin target_replace Plugin "^curl_json$" PluginInstance "^rabbitmq-.*$" PluginInstance "^rabbitmq-" "" Plugin "rabbitmq" PluginInstance "^$" PluginInstance "localhost" Target "return" Chain "curl_json_rabbitmq" PreCacheChain "PreCache"