Re: Can I ask Conntrack to send stats my to own process instead of dumping to /var/log/conntrackd-stats.log?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/17/17 06:36, Darshan Ghumare wrote:
Hello,

Is there a way wherein I can get the stats into my own custom process
so that it can process it in memory? Currently, I need to parse it
from /var/log/conntrackd-stats.log, which is written on disk.
Please help.

Are you actually using conntrackd for mult-node coordination or just for this one log?

You _probably_ want to be monitoring /proc/net/nf_conntrack and maybe /pro/net/nf_conntrack.expect if that's important.

There's also the netlink domain CONFIG_IP_NF_CONNTRACK_NETLINK that a priveliged process can subscribe to.

Check the plentiful documentation on this topic online for formats and usages.



--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux