rabbitmq-munin
rabbitmq-munin copied to clipboard
Doesn't seem to work at all
I set necessary variables as follows:
[rabbitmq-messages] env.vhost geri env.queue_warn 100 env.queue_crit 1000
And adjusted the script to only display celery queue:
...
QUEUES=$(rabbitmqctl list_queues -p $VHOST name | grep celery |
sed -e 's/[.-=]//g' )
...
rabbitmqctl list_queues -p $VHOST | grep 'celery' |
perl -nle'($q, $s) = split; $q =~ s/[.-=]//g; print("$q.value $s")'
but it doesn't work at all. There's no error in munin logs.
Make sure to set the user
parameter to a user with sufficient privileges for rabbitmqctl
. Worked for me since I adjusted that part. For further debugging, you could try running munin-run <plugin> [config]