3
Graphite에 내장 된 AMQP를 사용하여 RabbitMQ를 Graphite에 연결하려고합니다. 내가 carbon.conf
에서 설정의 주석을 때 내가 얻을 : 흑연 탄소 AMQP의 실제 구현이 없기 때문에흑연과 AMQP 사용하기 9.9
[email protected]:/opt/graphite/bin$ sudo python carbon-cache.py start
Starting carbon-cache (instance a)
Traceback (most recent call last):
File "carbon-cache.py", line 30, in <module>
run_twistd_plugin(__file__)
File "/opt/graphite/lib/carbon/util.py", line 92, in run_twistd_plugin
runApp(config)
File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 23, in runApp
_SomeApplicationRunner(config).run()
File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 386, in run
self.application = self.createOrGetApplication()
File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 446, in createOrGetApplication
ser = plg.makeService(self.config.subOptions)
File "/opt/graphite/lib/twisted/plugins/carbon_cache_plugin.py", line 21, in makeService
return service.createCacheService(options)
File "/opt/graphite/lib/carbon/service.py", line 115, in createCacheService
root_service = createBaseService(config)
File "/opt/graphite/lib/carbon/service.py", line 50, in createBaseService
from carbon import amqp_listener
File "/opt/graphite/lib/carbon/amqp_listener.py", line 29, in <module>
from txamqp.protocol import AMQClient
ImportError: No module named txamqp.protocol
에 만약 txamqp 사용 우분투,'sudo apt-get install python-txamqp'도 놀라운 일을합니다. –