https://github.com/juju4/ansible-ipt-netflow
IPT Netflow exporter kernel module ansible role
https://github.com/juju4/ansible-ipt-netflow
Last synced: 5 months ago
JSON representation
IPT Netflow exporter kernel module ansible role
- Host: GitHub
- URL: https://github.com/juju4/ansible-ipt-netflow
- Owner: juju4
- License: bsd-2-clause
- Created: 2016-10-30T19:16:47.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2025-04-20T18:45:34.000Z (8 months ago)
- Last Synced: 2025-04-20T19:26:40.553Z (8 months ago)
- Language: Shell
- Size: 86.9 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IPT Netflow kernel module ansible role
Ansible role to setup IPT Netflow
https://github.com/aabc/ipt-netflow
High performance NetFlow v5, v9, IPFIX flow data export module for Linux
kernel. Created to be useful for highly loaded linux router. It should be
used as iptables target.
## Requirements & Dependencies
### Ansible
It was tested on the following versions:
* 1.9
* 2.0
* 2.2
* 2.5
### Operating systems
Ubuntu 14.04, 16.04, 18.04 and Centos7
## Example Playbook
Just include this role in your list.
For example
```
- host: all
roles:
- juju4.ipt-netflow
```
## Variables
Nothing specific for now.
## Continuous integration
This role has a travis basic test (for github), more advanced with kitchen and also a Vagrantfile (test/vagrant).
Default kitchen config (.kitchen.yml) is lxd-based, while (.kitchen.vagrant.yml) is vagrant/virtualbox based.
Once you ensured all necessary roles are present, You can test with:
```
$ gem install kitchen-ansible kitchen-lxd_cli kitchen-sync kitchen-vagrant
$ cd /path/to/roles/juju4.ipt-netflow
$ KITCHEN_YAML=".kitchen.vagrant.yml" kitchen verify
```
or
```
$ cd /path/to/roles/juju4.ipt-netflow/test/vagrant
$ vagrant up
$ vagrant ssh
```
## Troubleshooting & Known issues
* kitchen/lxd is commented out as we are building kernel modules which require alignments of headers/running kernel.
Use kitchen/vagrant
* need to add support for dkms
## License
BSD 2-clause