Closed jindov closed 7 years ago
Hi guys,
I've configured diamond with multigraphitehandler, this is my config file diamond.conf:
.... [server]
handlers = diamond.handler.graphite.GraphiteHandler, diamond.handler.archive.ArchiveHandler .....
[[MultiGraphiteHandler]]
host = graphite.example1.com, graphite.example2.com
port = 2003
timeout = 15
batch = 1
[[MultiGraphitePickleHandler]]
port = 2004
batch = 256 ......
but diamond.log has error: GraphiteHandler: Failed to connect to localhost:2003. [Errno 111] Connection refused.
Anyone have idea?
you shall declare handler to use, for MultiGraphite handler, edit handlers variable to: diamond.handler.multigraphite.MultiGraphiteHandler
Thank, it's worked find
Hi guys,
I've configured diamond with multigraphitehandler, this is my config file diamond.conf:
.... [server]
handlers = diamond.handler.graphite.GraphiteHandler, diamond.handler.archive.ArchiveHandler .....
[[MultiGraphiteHandler]]
host = graphite.example1.com, graphite.example2.com
port = 2003
timeout = 15
batch = 1
[[MultiGraphitePickleHandler]]
host = graphite.example1.com, graphite.example2.com
port = 2004
timeout = 15
batch = 256 ......
but diamond.log has error: GraphiteHandler: Failed to connect to localhost:2003. [Errno 111] Connection refused.
Anyone have idea?