mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-10-29 09:22:23 +00:00
* nDPIsrvd.h: support for closing/resetting a nDPIsrvd_socket (required for a reconnect) 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.