Hi all, I've managed to compile with rabbitmq enabled, and publish data to an exchange - works great!
I have noticed some strange behaviour with the stamp_inserted value. When amqp_history is set, the stamp_inserted value is being set to the previous slot rather than the current slot. For example, stamp_updated may be 2013-10-04 00:37:11 but stamp_inserted is 2013-10-04 00:30:00. My config for this aggregation is as follows: ! 5 minutely IP to IP aggregate[5m_ipip]: src_host, dst_host amqp_routing_key[5m_ipip]: 5m_ipip amqp_history[5m_ipip]: 5m amqp_time_roundoff[5m_ipip]: m amqp_refresh_time[5m_ipip]: 10 I managed to get the expected results by switching lines 194 and 195 of amqp_plugin.c, but would like to confirm that this is the correct fix and that it won't affect anything else? Thanks again! Nathan.
_______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
