ask / rabbitmq-munin

Munin-plugins for RabbitMQ
BSD 3-Clause "New" or "Revised" License
139 stars 39 forks source link

Doesn't seem to work at all #2

Open skrat opened 13 years ago

skrat commented 13 years ago

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 listqueues -p $VHOST name | grep celery | \ sed -e 's/[.-=]//g' ) ... rabbitmqctl listqueues -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.

jnns commented 13 years ago

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]