aboutsummaryrefslogtreecommitdiff
path: root/examples/c-collectd/README.md
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2022-09-12 13:16:09 +0200
committerToni Uhlig <matzeton@googlemail.com>2022-09-12 13:23:50 +0200
commit20ced3e6360dcc70ece4c7e7e98b986356388b36 (patch)
treefac172c63017d86c53ba3af2beb78ac839e44ce8 /examples/c-collectd/README.md
parent83409e5b79ab224372dd8486249c668b2998a0a4 (diff)
nDPIsrvd-collectd: RRD Graph generation script and a basic static HTML5 website for viewing the generated image files.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'examples/c-collectd/README.md')
-rw-r--r--examples/c-collectd/README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/c-collectd/README.md b/examples/c-collectd/README.md
new file mode 100644
index 000000000..4e1a16fc4
--- /dev/null
+++ b/examples/c-collectd/README.md
@@ -0,0 +1,14 @@
+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.