Open skrat opened 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.
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]
user
rabbitmqctl
munin-run <plugin> [config]
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.