Hi Robin, To say this is now done, see:
https://github.com/pmacct/pmacct/commit/56bb6ac4924814fda7732112122c70ddcdd01542 https://github.com/pmacct/pmacct/commit/bc7249b949b952cce8b2b496b3c8b1e4af8ade24 Essentially, sFlow counters can now be exported to a RabbitMQ broker via the new sfacctd_counter_amqp_* configuration directives (see CONFIG-KEYS for full list and description: https://github.com/pmacct/pmacct/blob/master/CONFIG-KEYS Next up for sFlow counters (will be done later in the week) is to add support for export via a Kafka broker. Look forward to hear from you if get a second to test this out. Cheers, Paolo On Thu, Nov 05, 2015 at 07:22:16PM +0100, Robin Douine wrote: > Hello, > > As the sFlow Samples Counter Data format 1, 2 and 5 (Generic, Ethernet > and Vlan) are already implemented, the only thing I "wish", it would be > to be able to use the amqp plugin. > > Best regards > > On 05/11/2015 04:59, Paolo Lucente wrote: > > Hi Robin, > > > > Thanks for your kind words. > > > > About sFlow counters: you are right, currenty only streamed output to > > files is supported - no AMQP or Kafka. The feature was built ad-hoc and > > before doing further development I was precisely looking to see whether > > there is further interest into it. > > > > What would be your wishlist wrt sFlow counters? > > > > Anybody else reading has also interest into collecting sFlow counters? > > > > Cheers, > > Paolo > > > > On Wed, Nov 04, 2015 at 12:16:45PM +0100, Robin Douine wrote: > >> Hello, > >> > >> First, I congratulate you on this beautiful piece of software. > >> > >> I have a question about the new feature on the Sflow counters. > >> In the changelog, it's written : > >> "Counters are exported in JSON format to files" > >> > >> Does it mean that we can't get back the sflow counters in the plugins > >> like amqp ? > >> > >> Best regards > >> > > -- > Robin DOUINE > _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
