summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d4701eb)
raw | patch | inline | side by side (parent: d4701eb)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 25 Jul 2008 13:46:19 +0000 (15:46 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 25 Jul 2008 13:46:19 +0000 (15:46 +0200) |
Added a note about how to get collectd2html.pl working with version 4 of
collectd.
collectd.
debian/README.Debian | patch | blob | history | |
debian/changelog | patch | blob | history |
diff --git a/debian/README.Debian b/debian/README.Debian
index 63086be25941e82dc34a41288b8a237810eca7cd..4c22f5edcdb0546be2528b5ab41148f56b1bb16d 100644 (file)
--- a/debian/README.Debian
+++ b/debian/README.Debian
"/var/lib/collectd/" and generate a static HTML file and a directory
containing several PNG files which are graphs of the RRD files found.
+ This script was intended to be used with version 3 of collectd but still
+ seems to be in use by some people. To get it working with version 4, you
+ have to call it once for each subdirectory containing RRD files. A sample
+ wrapper might look like this:
+
+ for dir in /var/lib/collectd/rrd/$hostname/*; do
+ out_dir=`basename "$dir"`
+ mkdir -p $out_dir
+ ( cd $out_dir && collectd2html.pl --data-dir="$dir" )
+ done
+
- collection.cgi: Sample CGI script that creates graphs on the fly. The Perl
modules "RRDs" (package librrds-perl), "URI:Escape" (package liburi-perl),
"HTML::Entities" (package libhtml-parser-perl) and a CGI capable web server
diff --git a/debian/changelog b/debian/changelog
index d5056321fb010574e5150b6eaa1a3875d2942a25..cab9a417989f6c280f38b5203e121bac5d5bcb8d 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
* Include collection3 in /usr/share/doc/collectd/examples/:
- Updated README.Debian to point the collection3's README.
- Added libconfig-general-perl to the suggested packages.
+ * README.Debian: Added a note about how to get collectd2html.pl working with
+ version 4 of collectd.
- -- Sebastian Harl <sh@tokkee.org> Fri, 25 Jul 2008 15:27:56 +0200
+ -- Sebastian Harl <sh@tokkee.org> Fri, 25 Jul 2008 15:44:43 +0200
collectd (4.4.1-2) unstable; urgency=low