AMQP issue in carbon-cache
Opened this issue · 0 comments
Hi Joe,
My current sensu - graphite set up is working fine as expected with below exceptions, I ams till unable to send data through AMQP whenever I send data through AMQP carbon-cache gets crashed. Also please advice if below output is good to go with?
root@ip-192-168-30-160:/var/log/carbon# tail -f listener.log | grep -i "192.168.30.135"
03/06/2015 18:29:33 :: MetricLineReceiver connection with 192.168.30.135:47814 established
03/06/2015 18:29:33 :: MetricLineReceiver connection with 192.168.30.135:47814 closed cleanly
03/06/2015 18:39:44 :: MetricLineReceiver connection with 192.168.30.135:47813 lost: Connection to the other side was lost in a non-clean fashion: Connection lost.
AMQP error:
root@ip-192-168-30-160:~# service carbon-cache restart
-
Restarting Graphite backend daemon carbon-cache Traceback (most recent call last):
File "/usr/bin/carbon-cache", line 32, in
run_twistd_plugin(file)
File "/usr/lib/python2.7/dist-packages/carbon/util.py", line 90, in run_twistd_plugin
config.parseOptions(twistd_options)
File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 604, in parseOptions
usage.Options.parseOptions(self, options)
File "/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 266, in parseOptions
self.subOptions.parseOptions(rest)
File "/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 276, in parseOptions
self.postOptions()
File "/usr/lib/python2.7/dist-packages/carbon/conf.py", line 197, in postOptions
program_settings = read_config(program, self)
File "/usr/lib/python2.7/dist-packages/carbon/conf.py", line 526, in read_config
settings.readFrom(config, section)
File "/usr/lib/python2.7/dist-packages/carbon/conf.py", line 146, in readFrom
value = parser.getboolean(section, key)
File "/usr/lib/python2.7/ConfigParser.py", line 370, in getboolean
raise ValueError, 'Not a boolean: %s' % v
ValueError: Not a boolean: True
ENABLE_AMQP = True
AMQP_HOST = 192.168.30.135
AMQP_PORT = 5672
AMQP_VHOST = /sensu
AMQP_USER = sensu
AMQP_PASSWORD = sensu123
AMQP_EXCHANGE = metrics
AMQP_METRIC_NAME_IN_BODY = True