Update README.md

Add instructions.
This commit is contained in:
Deklan Dieterly 2014-05-02 07:53:49 -06:00
parent 7862cb0907
commit 490a1ea79a
1 changed files with 36 additions and 0 deletions

View File

@ -3,7 +3,43 @@ ceil2mon
Python plugin code for Ceilometer to send samples to Jahmon
Run devstack to get openstack installed.
Checkout monclient from git.hpcloud.net.
Copy monclient to the following path:
/opt/stack/ceilometer/ceilometer/monclient
Copy monclient.py to the following path:
/opt/stack/ceilometer/ceilometer/publisher/monclient.py
edit entry_points.txt
Under [ceilometer.publisher] section add the following line:
monclient = ceilometer.publisher.monclient:monclient
edit setup.cf
Under 'ceilometer.publisher =' section add the following line:
monclient = ceilometer.publisher.monclient:monclient
Setup debugging.
Create a pycharm run configuration.
Script: /usr/local/bin/ceilometer-api
Script parameters: -d -v --log-dir=/var/log/ceilometer-api --config-file /etc/ceilometer/ceilometer.conf
Comment out any logging messages that cause the debugger to lose the debugging session.
Make sure that 'Attach to subprocess automatically while debugging' is checked in Pycharm's Python Debugger settings.
Make sure that 'Gevent compatible debugging' is checked in Pycharm's Debugger settings.