Since version 0.5.0, ouput plugins check mongo's version to set :buffer_chunk_limit.
mongod_version method tries to connect a target mongod server,
but raises an exception when target mongod server is down.
For the safety of ouput operation, configure method should rescue an execption and
set :buffer_chunk_limit to 2MB if mongod_version raised an exception.
Since version 0.5.0, ouput plugins check mongo's version to set :buffer_chunk_limit. mongod_version method tries to connect a target mongod server, but raises an exception when target mongod server is down.
For the safety of ouput operation, configure method should rescue an execption and set :buffer_chunk_limit to 2MB if mongod_version raised an exception.