mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-11-02 03:07:49 +00:00
* nDPId: Fixed broken validation tests. * nDPId: Removed TICK_RESOLUTION, not required anymore. * c-collectd: Improved total layer4 payload calculation/update handling. * c-collectd: Updated RRD Graph script according to total layer4 payload changes. * py-flow-info.py: Fixed several bugs and syntax errors. * Python scripts: Added dirname(argv[0]) as search path for nDPIsrvd.py. * nDPIsrvd&nDPId-test: Fixed missing EPOLLERR check. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
HowTo use this
This HowTo assumes that the examples were sucessfully compiled and installed within the prefix /usr on your target machine.
- Make sure nDPId and Collectd is running.
- Edit
collectd.confusually in/etc. - Add the lines in
plugin_nDPIsrvd.confto yourcollectd.conf. You may adapt this file depending what command line arguments you'd supplied tonDPId. - Reload your Collectd instance.
- Optional: Install a http server of your choice.
Place the files in
/usr/share/nDPId/nDPIsrvd-collectd/wwwsomewhere in your www root. - Optional: Add
rrdgraph.shas cron job e.g.0 * * * * /usr/share/nDPId/nDPIsrvd-collectd/rrdgraph.sh [path-to-the-collectd-rrd-directory] [path-to-your-dpi-wwwroot]. This will runrrdgraph.shonce per hour. You can adjust this until it fit your needs.