@@ -304,6 +304,155 @@ See
304
304
in
305
305
.Xr rabbitmqctl 8
306
306
.\" ------------------------------------
307
+ .It Cm alarms
308
+ .Pp
309
+ Lists resource alarms, if any, in the cluster.
310
+ .Pp
311
+ See
312
+ .Lk https://www.rabbitmq.com/alarms.html " RabbitMQ Resource Alarms guide"
313
+ to learn more.
314
+ .Pp
315
+ Example:
316
+ .Sp
317
+ .Dl
318
+ .Nm
319
+ alarms
320
+ .\" ------------------------------------
321
+ .It Cm listeners
322
+ .Pp
323
+ Lists listeners (bound sockets) on this node. Use this to inspect
324
+ what protocols and ports the node is listening on for client, CLI tool
325
+ and peer connections.
326
+ .Pp
327
+ See
328
+ .Lk https://www.rabbitmq.com/networking.html " RabbitMQ Networking guide"
329
+ to learn more.
330
+ .Pp
331
+ Example:
332
+ .Sp
333
+ .Dl
334
+ .Nm
335
+ listeners
336
+ .\" ------------------------------------
337
+ .It Cm is_running
338
+ .Pp
339
+ Reports if RabbitMQ application is fully booted and running (that is, not stopped) on
340
+ the target node.
341
+ .Pp
342
+ Example:
343
+ .Sp
344
+ .Dl
345
+ .Nm
346
+ is_running
347
+ .\" ------------------------------------
348
+ .It Cm is_booting
349
+ .Pp
350
+ Reports if RabbitMQ application is currently booting (not booted/running or stopped) on
351
+ the target node.
352
+ .Pp
353
+ Example:
354
+ .Sp
355
+ .Dl
356
+ .Nm
357
+ is_booting
358
+ .\" ------------------------------------
359
+
360
+ check_port_connectivity [-t <timeout>]
361
+ .\" ------------------------------------
362
+ .It Cm check_running
363
+ .Pp
364
+ Health check that fails (returns with a non-zero code) if the RabbitMQ
365
+ application is not running on the target node.
366
+ .Pp
367
+ If
368
+ .Cm rabbitmqctl(8)
369
+ was used to stop the application, this check will fail.
370
+ .Pp
371
+ Example:
372
+ .Sp
373
+ .Dl
374
+ .Nm
375
+ check_running
376
+ .\" ------------------------------------
377
+ .It Cm check_local_alarms
378
+ .Pp
379
+ Health check that fails (returns with a non-zero code) if there are alarms
380
+ in effect on the target node.
381
+ .Pp
382
+ See
383
+ .Lk https://www.rabbitmq.com/alarms.html " RabbitMQ Resource Alarms guide"
384
+ to learn more.
385
+ .Pp
386
+ Example:
387
+ .Sp
388
+ .Dl
389
+ .Nm
390
+ check_local_alarms
391
+ .\" ------------------------------------
392
+ .It Cm check_alarms
393
+ .Pp
394
+ Health check that fails (returns with a non-zero code) if there are alarms
395
+ in effect on any of the cluster nodes.
396
+ .Pp
397
+ See
398
+ .Lk https://www.rabbitmq.com/alarms.html " RabbitMQ Resource Alarms guide"
399
+ to learn more.
400
+ .Pp
401
+ Example:
402
+ .Sp
403
+ .Dl
404
+ .Nm
405
+ check_alarms
406
+ .\" ------------------------------------
407
+ .It Cm check_port_connectivity
408
+ .Pp
409
+ Health check that fails (returns with a non-zero code) if any listener ports
410
+ on the target node cannot accept a new TCP connection opened by
411
+ .Nm.
412
+ The check only validates if a new TCP connection is accepted. It does not
413
+ perform messaging protocol handshake or authenticate.
414
+ .Pp
415
+ See
416
+ .Lk https://www.rabbitmq.com/networking.html " RabbitMQ Networking guide"
417
+ to learn more.
418
+ .Pp
419
+ Example:
420
+ .Sp
421
+ .Dl
422
+ .Nm
423
+ check_port_connectivity
424
+ .\" ------------------------------------
425
+ .It Cm check_protocol_listener
426
+ .Pp
427
+ Health check that fails (returns with a non-zero code) if the target node
428
+ does not have a listener for the specified protocol.
429
+ .Pp
430
+ See
431
+ .Lk https://www.rabbitmq.com/networking.html " RabbitMQ Networking guide"
432
+ to learn more.
433
+ .Pp
434
+ Example:
435
+ .Sp
436
+ .Dl
437
+ .Nm
438
+ check_protocol_listener mqtt
439
+ .\" ------------------------------------
440
+ .It Cm check_port_listener
441
+ .Pp
442
+ Health check that fails (returns with a non-zero code) if the target node
443
+ is not listening on the specified port (there is no listener that
444
+ uses that port).
445
+ .Pp
446
+ See
447
+ .Lk https://www.rabbitmq.com/networking.html " RabbitMQ Networking guide"
448
+ to learn more.
449
+ .Pp
450
+ Example:
451
+ .Sp
452
+ .Dl
453
+ .Nm
454
+ check_port_listener 5672
455
+ .\" ------------------------------------
307
456
.It Cm status
308
457
See
309
458
.Cm status
316
465
in
317
466
.Xr rabbitmqctl 8
318
467
.\" ------------------------------------
319
- .It Cm node_health_check
320
- Performs several health checks of the target node.
321
- .Pp
322
- Verifies the rabbit application is running and alarms are not set,
323
- then checks that every queue and channel on the node can emit basic stats.
324
- .Pp
325
- Example:
326
- .Sp
327
- .Dl
328
- .Nm
329
- node_health_check -n rabbit@hostname
330
- .\" ------------------------------------
331
468
.It Cm environment
332
469
See
333
470
.Cm environment
400
537
in
401
538
.Xr rabbitmqctl 8
402
539
.\" ------------------------------------
540
+ .It Cm node_health_check
541
+ Performs several health checks of the target node.
542
+ .Pp
543
+ Verifies the rabbit application is running and alarms are not set,
544
+ then checks that every queue and channel on the node can emit basic stats.
545
+ .Pp
546
+ Example:
547
+ .Sp
548
+ .Dl
549
+ .Nm
550
+ node_health_check -n rabbit@hostname
551
+ .\" ------------------------------------
0 commit comments