Get collectd iptables stats

  • Hi !

    I have added a plugin to collectd configuration, in order to get iptables statistics.


    According to the collectd docs, the configuration file should be something like this :

    Code
    root@home-server:/# cat /etc/collectd/collectd.conf.d/iptables.conf
    LoadPlugin iptables
    <Plugin "iptables">
      Chain "filter" "INPUT"
      Chain "filter" "OUTPUT"
    </Plugin>


    Here are some infos from my iptables :


    Restarting the collectd demon is fine :


    Unfortunatly, no data are collected/writen in the data directory (should have some iptables_filter_* directories from what I know :( )


    Does anyone already done this and any idea of what the problem is ?

    Thanks

    Lian Li PC-V354 (with Be Quiet! Silent Wings 3 fans)
    ASRock Rack x470D4U | AMD Ryzen 5 3600 | Crucial 16GB DDR4 2666MHz ECC | Intel x550T2 10Gb NIC

    1 x ADATA 8200 Pro 256MB NVMe for System
    6 x Western Digital 10To HDD in RAID 6 for Datas
    1 x Western Digital 2To HDD for Backups/Downloads

    Powered by OMV v5.6.26 & Linux kernel 5.10.x

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!