CHECK_R...SHOVELS(1p)
π NAME π
okay so bestie, meet check_rabbitmq_shovels β the manual page calls it CHECK_R...SHOVELS(1p) (they truncate it, iconic of them) π
It's a Nagios plugin that checks whether all the shovels on a given RabbitMQ host are running. That's the whole gig. That's the mission. π
β¨ SYNOPSIS β¨
check_rabbitmq_shovels --hostname <host>
check_rabbitmq_shovels { --help | --man | --version }
πΈ OPTIONS πΈ
π«Ά Program options
-H,--hostnamestring β the RabbitMQ host you wanna query. Defaults to"localhost"(so cozy, so local).-P,--portnumber β which port to poke RabbitMQ on. Defaults to55672.-u,--user,--usernamestring β your username. Defaults to"guest".-p,--pass,--passwordstring β your password. Defaults to"guest". (yes bestie,guest/guest, the standard-install classic π₯)-t,--timeoutduration β how long to wait, in seconds. Defaults to5.
π Help options
-?,--usageβ prints a short usage description, then dips. π-h,--helpβ prints a longer, more detailed help screen, then dips.-V,--versionβ prints the program name and version, then dips.
π¦ DESCRIPTION π¦
So basically: this program is a Nagios plugin, and it uses the JSON over HTTP API to check that all the shovels on the given RabbitMQ host are running. Default settings? They match a standard RabbitMQ installation, no notes, we love a sensible default. π
Now the vibe check results, aka what the check returns:
OKβ when all the shovels are running. slay. πWARNINGβ when one or more shovels are blocked. πCRITICALβ when one or more shovels are terminated. π
β EXAMPLES β
With default settings you literally only need to specify the hostname:
check_rabbitmq_shovels -H <host>
It prints the global status plus the details of the shovels, ordered by decreasing criticality (most dramatic shovels first, periodt):
RABBITMQ_SHOVELS OK - 3 running shovels: klonk zlott swish
RABBITMQ_SHOVELS WARNING - 1 blocked shovel: klonk, 2 running shovels: zlott swish
RABBITMQ_SHOVELS CRITICAL - 1 terminated shovel: zlott, 1 blocked shovel: klonk, 1 running shovel: swish
And when the API is doing the most and throws an error, the program gives you a proper diagnostic, no cap:
RABBITMQ_SHOVELS CRITICAL - API error: 401 Unauthorized
RABBITMQ_SHOVELS CRITICAL - API error: 500 Can't connect to <host>:<port>
RABBITMQ_SHOVELS CRITICAL - API error: could not parse JSON: malformed JSON string
RABBITMQ_SHOVELS CRITICAL - API error: empty JSON
π SEE ALSO π
- See Monitoring::Plugin β go look at it bestie, it's right there.
- The RabbitMQ management plugin is described at <http://www.rabbitmq.com/management.html>
π LICENSE π
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.
β οΈ fr fr, this is a legally-binding vibe: no warranties, no promises, read the License.
π AUTHOR π
Sebastien Aperghis-Tramoni (sebastien@aperghis.net)
and that's the whole page, bestie π«Ά this one's running under perl v5.40.1, dated 2026-01-26, and it's filed in the CHECK_R...SHOVELS(1p) manual. mwah, go run your shovels π
β¨
π¦ 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