Update README.md

Add content to README.
This commit is contained in:
Deklan Dieterly 2014-05-02 08:10:00 -06:00
parent 490a1ea79a
commit 8b83703ef8
1 changed files with 37 additions and 34 deletions

View File

@ -3,43 +3,46 @@ ceil2mon
Python plugin code for Ceilometer to send samples to Jahmon Python plugin code for Ceilometer to send samples to Jahmon
Run devstack to get openstack installed. ### Installation Instructions
Checkout monclient from git.hpcloud.net. 1. Run devstack to get openstack installed.
Copy monclient to the following path:
/opt/stack/ceilometer/ceilometer/monclient 2. Checkout monclient from git.hpcloud.net.
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. Copy monclient to the following path:
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. /opt/stack/ceilometer/ceilometer/monclient
3. Checkout ceil2mon from git.hpcloud.net.
Copy monclient.py to the following path:
/opt/stack/ceilometer/ceilometer/publisher/monclient.py
4. Edit entry_points.txt
Under [ceilometer.publisher] section add the following line:
monclient = ceilometer.publisher.monclient:monclient
5. Edit setup.cf
Under 'ceilometer.publisher =' section add the following line:
monclient = ceilometer.publisher.monclient:monclient
6. 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.