Comment 1 for bug 1485722

Revision history for this message
David Ames (thedac) wrote : Re: rmq on >= vivid has mnesia (no data dir)

This could be considered a testing race condition. collect_rabbitmq_stats.sh is run by cron and will create the /var/lib/rabbitmq/data directory.

This can be tested by running
juju run --service rabbitmq-server /usr/local/bin/collect_rabbitmq_stats.sh
before running
egrep -oh /usr/local.* /etc/nagios/nrpe.d/check_rabbitmq_queue.cfg

The question is should the charm setup this directory? If it should this is the fix: https://pastebin.canonical.com/138221/