Re: [pmacct-discussion] pmacct -1.5.0rc3 rabbitmq integration issue.

2014-07-19 Thread Dhanasekaran Anbalagan
Hi All,

Thanks Nick and Paolo, it's routing key issue. Now I am getting output
value in logstash. Also I am planning to create [ELK Stack] Kibana
dashboard for bandwidth monitoring also which user consuming higher
bandwidth.

-Dhanasekaran.

Did I learn something today? If not, I wasted it.


On Sat, Jul 19, 2014 at 5:26 PM, Paolo Lucente pa...@pmacct.net wrote:

 Hi Dhanasekaran,

 Building on Nick's answer: I see pmacct publishes on routing key '5m_ipip'
 whereas the consumer part, which you left to default values, expects data
 on 'acct' routing key. You should align the two.

 Cheers,
 Paolo

 On Fri, Jul 18, 2014 at 09:30:16AM +0200, Nick Douma wrote:
  Hi,
 
  On 17-07-14 20:08, Dhanasekaran Anbalagan wrote:
   I am trying to integrate pmacct with logstash. I already tired print
   plugin to write to flat-files it's working. Now I am trying to
 integrate
   with  rabbitmq. It's not working..
  
   I went to rabbitmq admin. I don't see any message queues. Also tired
   Debug mode
  
   I seen some Json data printing. But actually It's not sending to
   rabbitmq exchange. But Exchange name created in rabbitmq end,
  
   console log:
   http://paste.ubuntu.com/7809820/
 
  In your log I see:
 
  ... publishing [E=pmacct RK=5m_ipip DM=0] ...
 
  I read this as publishing to Exchange pmacct with routing key
  5m_ipip. Are you sure that your config is properly loaded by pmacct?
 
  King regards,
 
  Nick Douma
 



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


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

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

Re: [pmacct-discussion] pmacct -1.5.0rc3 rabbitmq integration issue.

2014-07-18 Thread Nick Douma
Hi,

On 17-07-14 20:08, Dhanasekaran Anbalagan wrote:
 I am trying to integrate pmacct with logstash. I already tired print
 plugin to write to flat-files it's working. Now I am trying to integrate
 with  rabbitmq. It's not working..
 
 I went to rabbitmq admin. I don't see any message queues. Also tired
 Debug mode 
 
 I seen some Json data printing. But actually It's not sending to
 rabbitmq exchange. But Exchange name created in rabbitmq end,
 
 console log:
 http://paste.ubuntu.com/7809820/

In your log I see:

... publishing [E=pmacct RK=5m_ipip DM=0] ...

I read this as publishing to Exchange pmacct with routing key
5m_ipip. Are you sure that your config is properly loaded by pmacct?

King regards,

Nick Douma



signature.asc
Description: OpenPGP digital signature
___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists