CHECK_...VERVIEW(1p)
π check_rabbitmq_overview β the manual, but make it a group chat π
okay bestie, sit down, hydrate, and let me tell you about check_rabbitmq_overview β it's a Nagios plugin that uses the RabbitMQ management API to count the messages pending on the broker. yes, we're counting messages. it's giving accounting but for bunnies π°β¨
this page lives in the User Contributed Perl Documentation, iykyk π
β¨ NAME β¨
check_rabbitmq_overview β Nagios plugin using RabbitMQ management API to count the messages pending on the broker.
like. that's it. that's the whole vibe. it counts your pending messages and tells nagios about it. π¦
β¨ SYNOPSIS β¨
check_rabbitmq_overview [options] -H hostname
that's the shape of it, bestie. options go in, hostname goes at the end, magic happens. π
β¨ DESCRIPTION β¨
so here's the tea β β this plugin uses the management interface of RabbitMQ to count the number of pending, ready, and unacknowledged messages. those counts get published as performance metrics for the check. metrics! for the check! iconic. π
and because we're β¨thoroughβ¨, you can set critical and warning thresholds for each of the metrics individually. not one threshold for everything β per metric. slay.
it uses Monitoring::Plugin and accepts all standard Nagios options. so if you already know your Nagios flags, you're already fluent. no cap. π«Ά
β¨ OPTIONS β¨
every single one, bestie, no skipping, this is a full send π
-h|--helpβ display help text. the classic. the legend. π-v|--verboseβ verbose output. it will simply tell you more things.-t|--timeoutβ set a timeout for the check, in seconds. patience is a finite resource, so is this.-H|--hostname|--hostβ the host to connect to. the main character of the argument list, honestly. π--portβ the port to connect to (default:55672).--sslβ use SSL when connecting (default:false). security era π--username|--userβ the user to connect as (default:guest).--passβ the password for the user (default:guest).-w|--warningβ the warning levels for each count of messages, messages_ready and messages_unacknowledged. this field consists of three comma-separated integers. specify-1if no threshold for a particular count.-c|--criticalβ the critical levels for each count of messages, messages_ready and messages_unacknowledged. this field consists of three comma-separated integers. specify-1if no threshold for a particular count.
not me emphasizing this:-wand-ceach take three comma-separated integers, in the order messages, messages_ready, messages_unacknowledged. and-1means "no threshold here, we're chill for this one". π
β¨ EXAMPLES β¨
the defaults all work with a standard fresh install of RabbitMQ β like, out of the box, plug and play, no setup arc π§ β and all that is needed is to specify the host to connect to:
check_rabbitmq_overview -H rabbit.example.com
and this returns a standard Nagios result. look at it. it's beautiful:
RABBITMQ_OVERVIEW OK - messages OK (25794) messages_ready OK (22971)
messages_unacknowledged OK (2823) | messages=25794;;
messages_ready=22971;; messages_unacknowledged=2823;;
the way that perfdata line just sits there with all those semicolonsβ¦ ate. πβ¨
β¨ ERRORS β¨
the check tries to provide useful error messages on the status line for standard error conditions. so when things go wrong, it's not just a mysterious void. it talks. π«Ά
otherwise, it returns the HTTP Error message returned by the management interface. raw, unfiltered, straight from the API. π
β¨ EXIT STATUS β¨
returns zero if the check is OK. otherwise it returns standard Nagios exit codes to signify WARNING, UNKNOWN, or CRITICAL state.
translation: 0 = we're good, anything else = something's up, check the vibe π
β¨ SEE ALSO β¨
- See
Monitoring::Plugin(3)β the plugin framework this whole thing is built on. - The RabbitMQ management plugin is described at
http://www.rabbitmq.com/management.htmlβ go read it, it's the source material fr fr.
β¨ LICENSE β¨
this file is part of nagios-plugins-rabbitmq.
Copyright 2010, Platform 14. ποΈ
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
okay legal bestie, real talk: don't skip the license. it's short, it's sweet, it's legally binding. periodt. π
β¨ AUTHOR β¨
James Casey <jamesc.000@gmail.com> π
go off, James. icon behavior.
and that's the whole page bestie!! this one's CHECK_...VERVIEW(1p), shipped as part of perl v5.40.1, dated 2026-01-26. you understood the assignment, and so did the plugin. slay safe out there πππ¦
π¦ where this page comes from
- ubuntu resolute: nagios-plugins-rabbitmq 1:1.2.0-2.5ubuntu2
- ubuntu stonking: nagios-plugins-rabbitmq 1:1.2.0-2.5ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms