Fix typo in variable name
Add quote around variable checking
Factorize states vars and check_running
Factorize AMQP checks
Factorize usage
Merge pull request #41 from jd/jd/fix-ceilometer

Fix ceilometer process and AMQP checks