RabbitMQ

Dashboard

Queues, connections, channel, memory, cpu. Alerting. Need some script for exec_[max_qsize, notnull, block]
Last updated: 2 years ago

Downloads: 209

Reviews: 0

    Collector Configuration Details

    #!/bin/bash

    exec_block

    b=$(rabbitmqadmin list channels -u monitoring -p monitoring client_flow_blocked|grep True|wc -l) echo "$b"

    #!/bin/bash

    exec_max_qsize

    m=$(rabbitmqadmin list queues messages -u monitoring -p monitoring -f tsv|grep -v messages|uniq -u) max=0 for i in $m do if [ $i -gt $max ];then max=$i else continue fi done echo "$max"

    #!/bin/bash

    exec_not_null

    m=$(rabbitmqadmin list queues messages -u monitoring -p monitoring -f tsv|grep -v messages|uniq -u|wc -l) echo "$m"