add amqp use flag to collectd