Re: [pmacct-discussion] New Plugin Pull Request

2019-01-15 Thread Will Hawkins
Thanks for the feedback, Aaron! I initially did the same as you but
was told by the PHBs that Kafka was "too much" so we went this other
route.

Thanks again for the feedback!
Will

On Wed, Jan 16, 2019 at 1:02 AM Aaron Finney  wrote:
>
> Hi Will,
>
> Looks interesting! We accomplished this by using Kafka, but I can see where 
> having a json-via-udp might be useful as something more lightweight.
>
> Aaron
>
> On Tue, Jan 15, 2019 at 7:59 PM Will Hawkins  wrote:
>>
>> Hello great community!
>>
>> First, I wanted to say that I love the pmacct software -- it's been a
>> huge boon to our research lab. Thank you all for developing and
>> contributing!
>>
>> After some usage of the tool, we found that we needed some extra
>> functionality that I couldn't find in the included plugins. Namely, we
>> needed to send json-formatted output over UDP to a server that would
>> perform further processing on the data. I hope that I didn't miss an
>> existing plugin to perform such work!
>>
>> Finding none, I decided to implement a plugin to do just that. I named
>> it jsonudp. I implemented it according to the directions in all the
>> document (ie, copy existing plugins!). I relied heavily on the
>> print_plugin and coded up something that works. I attempted to follow
>> the existing code style and meet the project's standards.
>>
>> I submitted a pull request for the code to the project's repository on
>> github. I'd love to hear feedback on the code and what you think I can
>> improve if you think that it's a feature worth having in the main
>> repository. If you don't think it's worthwhile, I'd love to hear that
>> too!
>>
>> In any event, thank you for building and maintaining such a great tool.
>>
>> Will
>>
>> ___
>> pmacct-discussion mailing list
>> http://www.pmacct.net/#mailinglists
>
>
>
> --
> Aaron Finney
> Infrastructure Engineering | OpenX
> 888 East Walnut Street, 2nd Floor | Pasadena, CA 91101
> o: +1 (626) 466-1141 x6035 | aaron.fin...@openx.com
>
> ___
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists

___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists


Re: [pmacct-discussion] New Plugin Pull Request

2019-01-15 Thread Aaron Finney
Hi Will,

Looks interesting! We accomplished this by using Kafka, but I can see where
having a json-via-udp might be useful as something more lightweight.

Aaron

On Tue, Jan 15, 2019 at 7:59 PM Will Hawkins  wrote:

> Hello great community!
>
> First, I wanted to say that I love the pmacct software -- it's been a
> huge boon to our research lab. Thank you all for developing and
> contributing!
>
> After some usage of the tool, we found that we needed some extra
> functionality that I couldn't find in the included plugins. Namely, we
> needed to send json-formatted output over UDP to a server that would
> perform further processing on the data. I hope that I didn't miss an
> existing plugin to perform such work!
>
> Finding none, I decided to implement a plugin to do just that. I named
> it jsonudp. I implemented it according to the directions in all the
> document (ie, copy existing plugins!). I relied heavily on the
> print_plugin and coded up something that works. I attempted to follow
> the existing code style and meet the project's standards.
>
> I submitted a pull request for the code to the project's repository on
> github. I'd love to hear feedback on the code and what you think I can
> improve if you think that it's a feature worth having in the main
> repository. If you don't think it's worthwhile, I'd love to hear that
> too!
>
> In any event, thank you for building and maintaining such a great tool.
>
> Will
>
> ___
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists
>


-- 

*Aaron Finney*Infrastructure Engineering | OpenX
888 East Walnut Street, 2nd Floor | Pasadena, CA 91101
o: +1 (626) 466-1141 x6035 | aaron.fin...@openx.com
___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

[pmacct-discussion] New Plugin Pull Request

2019-01-15 Thread Will Hawkins
Hello great community!

First, I wanted to say that I love the pmacct software -- it's been a
huge boon to our research lab. Thank you all for developing and
contributing!

After some usage of the tool, we found that we needed some extra
functionality that I couldn't find in the included plugins. Namely, we
needed to send json-formatted output over UDP to a server that would
perform further processing on the data. I hope that I didn't miss an
existing plugin to perform such work!

Finding none, I decided to implement a plugin to do just that. I named
it jsonudp. I implemented it according to the directions in all the
document (ie, copy existing plugins!). I relied heavily on the
print_plugin and coded up something that works. I attempted to follow
the existing code style and meet the project's standards.

I submitted a pull request for the code to the project's repository on
github. I'd love to hear feedback on the code and what you think I can
improve if you think that it's a feature worth having in the main
repository. If you don't think it's worthwhile, I'd love to hear that
too!

In any event, thank you for building and maintaining such a great tool.

Will

___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists


Re: [pmacct-discussion] sending one netflow stream to different NF_PROBE receivers

2019-01-15 Thread Paolo Lucente


Hi Edvinas,

You could specify a single receiver in nfprobe. But you can transparent
replicate this feed several destinations wish with a simple tee instance.
You can get started how to configure a replicator by reading here:

https://github.com/pmacct/pmacct/blob/1.7.2/QUICKSTART#L1751-#L1786

As you can see if you keep reading from there on you can complicate
things at wish in order to intercept more advanced scenarios.

Paolo

On Tue, Jan 15, 2019 at 10:18:08AM +0200, Edvinas K wrote:
> Hello,
> 
> Is't possible to send one netflow stream to different NF_PROBE receivers or
> i need to run separate instances ?
> 
> Thanks

> ___
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists


___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists


[pmacct-discussion] sending one netflow stream to different NF_PROBE receivers

2019-01-15 Thread Edvinas K
Hello,

Is't possible to send one netflow stream to different NF_PROBE receivers or
i need to run separate instances ?

Thanks
___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists