-
-
Save davewongillies/9b28252bc3db27e51ce2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- note that this requires the rabbitmq management plugin --> | |
<!-- also requires collectd 5.1 with curl_json plugin support --> | |
<Plugin curl_json> | |
<URL "http://localhost:55672/api/overview"> | |
Instance "rabbitmq_overview" | |
User "guest" | |
Password "guest" | |
<Key "message_stats/publish"> | |
Type "counter" | |
</Key> | |
<Key "message_stats/deliver_get"> | |
Type "counter" | |
</Key> | |
<Key "message_stats/deliver_no_ack"> | |
Type "counter" | |
</Key> | |
<Key "message_stats/publish_details/rate"> | |
Type "gauge" | |
</Key> | |
<Key "message_stats/deliver_get_details/rate"> | |
Type "gauge" | |
</Key> | |
<Key "message_stats/deliver_no_ack_details/rate"> | |
Type "gauge" | |
</Key> | |
<Key "queue_totals/messages"> | |
Type "gauge" | |
</Key> | |
<Key "queue_totals/messages_ready"> | |
Type "gauge" | |
</Key> | |
<Key "queue_totals/messages_unacknowledged"> | |
Type "gauge" | |
</Key> | |
<Key "queue_totals/messages_details/rate"> | |
Type "gauge" | |
</Key> | |
<Key "queue_totals/messages_ready_details/rate"> | |
Type "gauge" | |
</Key> | |
<Key "queue_totals/messages_unacknowledged_details/rate"> | |
Type "gauge" | |
</Key> | |
</URL> | |
<!-- the mq-a@mq-a part maps to the erlang cookie vals --> | |
<URL "http://localhost:55672/api/nodes/mq-a@mq-a"> | |
Instance "rabbitmq_node_stats" | |
User "guest" | |
Password "guest" | |
<Key "mem_ets"> | |
Type "bytes" | |
</Key> | |
<Key "mem_binary"> | |
Type "bytes" | |
</Key> | |
<Key "mem_proc"> | |
Type "bytes" | |
</Key> | |
<Key "mem_proc_used"> | |
Type "bytes" | |
</Key> | |
<Key "mem_atom"> | |
Type "bytes" | |
</Key> | |
<Key "mem_atom_used"> | |
Type "bytes" | |
</Key> | |
<Key "mem_code"> | |
Type "bytes" | |
</Key> | |
<Key "mem_used"> | |
Type "bytes" | |
</Key> | |
<Key "mem_limit"> | |
Type "bytes" | |
</Key> | |
<Key "disk_free_limit"> | |
Type "bytes" | |
</Key> | |
<Key "disk_free"> | |
Type "bytes" | |
</Key> | |
<Key "fd_used"> | |
Type "gauge" | |
</Key> | |
<Key "fd_total"> | |
Type "counter" | |
</Key> | |
<Key "sockets_used"> | |
Type "gauge" | |
</Key> | |
<Key "sockets_total"> | |
Type "counter" | |
</Key> | |
</URL> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment