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