[collectd] ip6tables and uptime plugin
Florian Forster
octo at verplant.org
Fri Mar 20 11:43:10 CET 2009
Hi Marco,
On Thu, Mar 12, 2009 at 07:00:54PM +0100, Marco Chiappero wrote:
> > Sorry, but I don't have an opinion on the separate vs. combined
> > plugin question yet. I'll take a closer look at your patch at the
> > weekend and let you know :)
sorry that I didn't get to do this last weekend. I've taken a look just
now, especially at a diff between `iptables.c' and `ip6tables.c'.
From what I see, all you have to do is replace
iptc_handle_t, iptc_init, iptc_first_rule, iptc_next_rule, iptc_free
with their ip6tc_* counterparts.
I think the plugin is easier to maintain in the future, if we pull the
IPv6 stuff into the `iptables' plugin and add, e. g., a `Chain6' config
option.
Regards,
-octo
--
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090320/e1413452/attachment.pgp
More information about the collectd
mailing list