Files
nDPId/examples/c-collectd
Toni Uhlig 08f263e409 nDPId: Reduced flow-updates for TCP flows to 1/4 of the timeout value.
* 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>
2022-09-19 19:39:49 +02:00
..

HowTo use this

This HowTo assumes that the examples were sucessfully compiled and installed within the prefix /usr on your target machine.

  1. Make sure nDPId and Collectd is running.
  2. Edit collectd.conf usually in /etc.
  3. Add the lines in plugin_nDPIsrvd.conf to your collectd.conf. You may adapt this file depending what command line arguments you'd supplied to nDPId.
  4. Reload your Collectd instance.
  5. Optional: Install a http server of your choice. Place the files in /usr/share/nDPId/nDPIsrvd-collectd/www somewhere in your www root.
  6. Optional: Add rrdgraph.sh as 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 run rrdgraph.sh once per hour. You can adjust this until it fit your needs.