debian/0000755000000000000000000000000011733337122007170 5ustar debian/docs0000644000000000000000000000004111334046762010042 0ustar AUTHORS NEWS README TODO doc/FAQ debian/examples0000644000000000000000000000001711334046247010731 0ustar doc/examples/* debian/dirs0000644000000000000000000000004011334046247010050 0ustar etc usr/sbin var/lib/rrdcollect debian/compat0000644000000000000000000000000211334046247010370 0ustar 7 debian/changelog0000644000000000000000000001537311733337122011053 0ustar rrdcollect (0.2.10-2) unstable; urgency=low * Update debian/watch file to track .bz2 extension instead of .gz one. -- Artur R. Czechowski Sat, 24 Mar 2012 13:29:47 +0100 rrdcollect (0.2.10-1) unstable; urgency=low * New upstream release * Remove build-all.patch - applied upstream + Remove empty debian/patches * Add build-arch and build-indep targets * Empty the binary-indep target - there's nothing to build here * Update Standards-Version to 3.9.3 - nothing to change -- Artur R. Czechowski Tue, 20 Mar 2012 20:55:27 +0100 rrdcollect (0.2.9-1) unstable; urgency=low * New upstream release * Add build-all.patch - it fixes build on hurd-i386 -- Artur R. Czechowski Wed, 07 Apr 2010 15:38:21 +0000 rrdcollect (0.2.8-1) unstable; urgency=high * New upstream release * This release fixes memory leak introduced in 0.2.6, urgency=high -- Artur R. Czechowski Wed, 10 Feb 2010 22:39:28 +0000 rrdcollect (0.2.7-1) unstable; urgency=low * New upstream release * Install upstream TODO into /usr/share/doc/rrdcollect * New package: rrdcollect-dbg * Mention examples/ in README.Debian * Minor grammar fix in README.Debian * Call for new features in NEWS.Debian * Bump up Standards-Version (no changes required) * Switch to dpkg-source 3.0 (quilt) format -- Artur R. Czechowski Mon, 08 Feb 2010 21:54:40 +0000 rrdcollect (0.2.6-1) unstable; urgency=low * New upstream release + provide examples of configuration (Closes: #559351) + update README.Debian accordingly * Updated URL address of rrdtool * Install upstream FAQ * Add dependency on ${misc:Depends} for debhelper's sake -- Artur R. Czechowski Mon, 18 Jan 2010 12:09:26 +0000 rrdcollect (0.2.5.1-1) unstable; urgency=low * New upstream release + portability fixes for GNU/kFreeBSD (Closes: #559357) * --with-pcap/--without-pcap removed from upstream, remove it also from debian/rules -- Artur R. Czechowski Sat, 05 Dec 2009 14:04:46 +0000 rrdcollect (0.2.5-1) unstable; urgency=low * New upstream release + remove spurious output on startup. * debian/rules: do not update config.{guess,sub}, they are not used and never have been * debian/init: remove spurious --make-pidfile from start-stop-daemon --stop in restart action (LP: #445268) * debian/init: making it compliant with current policy + do not start another copy of daemon and do not fail in such case + checking if rddcollect shall be started is moved to separate function; function is run in proper places; output of the function is compliant with current policy * Update Standard-Version to 3.8.3 * Use debhelper 7 (updated debian/compat and dependency in debian/control) + replace dh_clean -k with dh_prep -- Artur R. Czechowski Wed, 02 Dec 2009 17:42:20 +0000 rrdcollect (0.2.4-2) unstable; urgency=low * Do not fail during restart when rrdcollect is not running (Closes: #556654) -- Artur R. Czechowski Tue, 17 Nov 2009 19:21:53 +0000 rrdcollect (0.2.4-1) unstable; urgency=low * New upstream release * Build-depends on librrd-dev instead of librrd2-dev (which is virtual package now) * DM-Upload-Allowed: yes * Enable support for exec:/// (Closes: #352756) * debian/watch: use magic redirector for sf.net * Bump-up Standards-Version to 3.8.0 (no changes required) * debian/control: move homepage to Homepage: field * debian/preinst: we no more need a special handling for versions older than 0.2.1-3 -- Artur R. Czechowski Wed, 25 Feb 2009 17:19:08 +0100 rrdcollect (0.2.3-4) unstable; urgency=low * LSB dependency info in init.d script, thx for patch to Petter Reinholdtsen (Closes: #468166) -- Artur R. Czechowski Sun, 16 Mar 2008 01:48:47 +0100 rrdcollect (0.2.3-3) unstable; urgency=low * debian/rules: explicity disable pcap in configure (Closes: 348434) * rrdcollect's distclean target is run via [ ! -f Makefile ] || $(MAKE) distclean instead of -$(MAKE) distclean to cool out lintian * Bump-up Standards-Version to 3.7.2 (no changes required) * Upgrade debian/rules:DH_COMPAT 3 to debian/compat 5 * Build-Depends: debhelper (>> 5.0.0) -- Artur R. Czechowski Sat, 07 Jul 2007 20:26:00 +0200 rrdcollect (0.2.3-2) unstable; urgency=low * Build-depends on librrd2-dev * Bump-up Standards-Version to 3.6.2 (no changes required) -- Artur R. Czechowski Sat, 20 Aug 2005 20:06:00 +0200 rrdcollect (0.2.3-1) unstable; urgency=low * New upstream release (Closes: #252734) + among others it has a syslog support (Closes: #210481) * added debian/watch file -- Artur R. Czechowski Sun, 22 May 2005 17:00:39 +0200 rrdcollect (0.2.1-5) unstable; urgency=high * Minor typo in README.Debian. Thanks to Julien Gilles. -- Artur R. Czechowski Sat, 8 Nov 2003 12:28:56 +0100 rrdcollect (0.2.1-4) unstable; urgency=low * working examples of rrd creation (Closes: #210479) * bumping up Standards-Version to 3.6.1.0 (nothing to change) -- Artur R. Czechowski Sun, 12 Oct 2003 17:19:54 +0200 rrdcollect (0.2.1-3) unstable; urgency=low * Write pid file by rrdcollect itself, not by start-stop-daemon, remove --make-pidfile from start-stop-daemon invocation (Closes: #201413) * rrdcollect's std{in,out,err} redirect from/to /dev/null * Added README.Debian with simple instruction about creating rrd files and references to documentation, uncommented some section in rrdcollect.conf (Closes: #201891) * Added debian/preinst and debian/postrm * debian/control: - bumping up Standards-Version to 3.6.0 (nothing to change) - modified description * debian/init: - removed sleep 5 from init script - message displayed when rrdcollect is running unconfigured is more descriptive now * debian/dirs: created /var/lib/rrdcollect -- Artur R. Czechowski Thu, 24 Jul 2003 20:10:20 +0200 rrdcollect (0.2.1-2) unstable; urgency=low * Official Debian release (Closes: #159523) * Official maintenance of this package * Bumping up Standards-Version to 3.5.10 * Rebuilding autoconf/automake files * debian/rules clean removes built manual pages * Do not run daemon automagically * Description typos fixed -- Artur R. Czechowski Mon, 7 Jul 2003 03:50:37 +0200 rrdcollect (0.2.1-1) unstable; urgency=low * Corrected copyright notice, as suggested by lintian. -- Dawid Kuroczko Sun, 06 Jul 2003 23:36:47 +0200 rrdcollect (0.2-1) unstable; urgency=low * Initial Release. -- Dawid Kuroczko Tue, 3 Sep 2002 14:29:19 +0200 debian/source/0000755000000000000000000000000011334073332010465 5ustar debian/source/format0000644000000000000000000000001411334073332011673 0ustar 3.0 (quilt) debian/default/0000755000000000000000000000000011334046247010616 5ustar debian/default/rrdcollect0000644000000000000000000000025111334046247012674 0ustar # If you want to run this package during system startup please do: # - edit configuration file in /etc/rrdcollect.conf # - comment following line: DONT_RUN_RRDCOLLECT=1 debian/copyright0000644000000000000000000000045711334046247011133 0ustar RRDcollect is written by and copyright 2002, 2003 Dawid Kuroczko Licensed under the terms of GNU GPL, version 2 or later. This package has been debianized by Dawid Kuroczko and it is maintained by Artur R. Czechowski See /usr/share/common-licenses/GPL for details. debian/install0000644000000000000000000000006011334046247010557 0ustar debian/default /etc debian/rrdcollect.conf /etc debian/README.Debian0000644000000000000000000000225311334061153011226 0ustar I. Configuration of rrdcollect package. ------------------------------------ The RRD is a format which is able to store very different types of data. It depends only on users' needs and available hardware (i.e. if you like to count people entering/exiting your room you need a sensor for it). The rrdcollect was developed as a tool for gathering data from operating system (especially from /proc data), not as an integrated tool to put everything on the web in an easy way. I assume, that user knows what he wants to store in database and the way to store it. There is /etc/rrdcollect.conf file provided. It contains some entries for documentation purposes. This package does NOT provide rrd files. You MUST to create it for your own. Please look into the directory /usr/share/doc/rrdcollect/examples/ for some common configuration. If you want to know more about RRD format read following resources: - man rrdtool (and referenced manuals) - rrdtool webpage: http://oss.oetiker.ch/rrdtool/ Some tutorials about creating RRD files and using RRD-related tools are available on this webpage. You can also us web tool for creating RRD archive available at: http://blabluga.hell.pl/rrdwizard/ debian/control0000644000000000000000000000216611732160063010575 0ustar Source: rrdcollect Section: utils Priority: extra Maintainer: Artur R. Czechowski DM-Upload-Allowed: yes Standards-Version: 3.9.3 Homepage: http://rrdcollect.sourceforge.net/ Build-Depends: debhelper (>> 7.0.0), librrd-dev, libpcre3-dev Package: rrdcollect Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: rrdtool Description: Round-Robin-Database Collecting Daemon RRDcollect is a daemon which polls certain files in /proc/ directory, gathering data and storing it inside RRDtool's database files. Being written in C it should be both fast and resources-friendly. It supports both scanf(3)-style pattern matches and perl compatible regular expressions. . This package does not create rrd files. You need to create those files manually using rrdtool package. Package: rrdcollect-dbg Architecture: any Priority: extra Section: debug Depends: ${shlibs:Depends}, ${misc:Depends}, rrdcollect (= ${binary:Version}) Description: debugging symbols for rrdcollect This package contains the debugging symbols for RRDcollect, the daemon which polls data from certain sources into RRD databases. debian/watch0000644000000000000000000000011411733337004010214 0ustar version=2 http://sf.net/rrdcollect/rrdcollect-(.*)\.tar\.bz2 debian uupdate debian/init0000644000000000000000000000361311334046247010063 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: rrdcollect # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 ### END INIT INFO # # skeleton example file to build /etc/init.d/ scripts. # This file should be used to construct scripts for /etc/init.d. # # Written by Miquel van Smoorenburg . # Modified for Debian GNU/Linux # by Ian Murdock . # # Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl # # This file was automatically customized by dh-make on Tue, 3 Sep 2002 14:53:55 +0200 PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/rrdcollect NAME=rrdcollect DESC=rrdcollect if [ -f /etc/default/rrdcollect ]; then . /etc/default/rrdcollect fi check_for_no_start() { if [ "${DONT_RUN_RRDCOLLECT}" = 1 ]; then echo "$NAME not in use; please read /etc/default/rrdcollect." exit 0 fi } test -f $DAEMON || exit 0 set -e case "$1" in start) check_for_no_start echo -n "Starting $DESC: $NAME" start-stop-daemon --oknodo --start --quiet --pidfile /var/run/$NAME.pid \ --exec $DAEMON echo "." ;; stop) echo -n "Stopping $DESC: $NAME" start-stop-daemon --oknodo --stop --quiet --pidfile /var/run/$NAME.pid \ --exec $DAEMON echo "." ;; restart|force-reload) # # If the "reload" option is implemented, move the "force-reload" # option to the "reload" entry above. If not, "force-reload" is # just the same as "restart". # check_for_no_start echo -n "Restarting $DESC: $NAME" start-stop-daemon --oknodo --stop --quiet --pidfile \ /var/run/$NAME.pid --exec $DAEMON sleep 1 start-stop-daemon --start --quiet --pidfile \ /var/run/$NAME.pid --exec $DAEMON echo "." ;; *) N=/etc/init.d/$NAME # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0 debian/rules0000755000000000000000000000444311732160142010250 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif config.status: configure dh_testdir # Add here commands to configure the package. ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --enable-exec \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=\$${prefix}/share/man build: build-arch build-indep build-arch: build-stamp build-indep: # We have nothing to do by default. build-stamp: config.status dh_testdir # Add here commands to compile the package. $(MAKE) #/usr/bin/docbook-to-man debian/rrdcollect.sgml > rrdcollect.1 touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean rm -f doc/rrdcollect.8 doc/rrdcollect.conf.5 dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/rrdcollect. $(MAKE) install DESTDIR=$(CURDIR)/debian/rrdcollect # Build architecture-independent files here. binary-indep: build-indep # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot # dh_installdebconf dh_installdocs -prrdcollect dh_installexamples dh_install dh_installmenu # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime dh_installinit -r # dh_installcron dh_installman # dh_installinfo # dh_undocumented dh_installchangelogs -prrdcollect ChangeLog dh_link dh_strip --dbg-package=rrdcollect-dbg dh_compress dh_fixperms # dh_makeshlibs dh_installdeb # dh_perl dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/postrm0000644000000000000000000000022611334046247010441 0ustar #!/bin/sh -e if [ "$1" = "purge" ] ; then if [ -f /etc/default/rrdcollect ]; then rm -f /etc/default/rrdcollect fi fi ##DEBHELPER## debian/NEWS0000644000000000000000000000137411334104053007664 0ustar rrdcollect (0.2.7-1) unstable; urgency=low * This is call for "new features wanted". This is the last stable release of rrdcollect at the moment. 0.2.x line will receive no more updates except bugfixes. As an upstream developer I am going to focus on adding some features requested a long time ago. And there is a chance for you. Please look into /usr/share/doc/rrdcollect/TODO file. If there is anything you think rrdcollect shall do and it is not mentioned in this list please make sure you installed reportbug package and configured it properly then run: reportbug -S wishlist -T none --list-cc="" rrdcollect and tell me what your needs are. -- Artur R. Czechowski Mon, 08 Feb 2010 21:54:46 +0000 debian/rrdcollect-dbg.links0000644000000000000000000000006611334102301013105 0ustar usr/share/doc/rrdcollect usr/share/doc/rrdcollect-dbg debian/preinst0000644000000000000000000000032311334046247010577 0ustar #!/bin/bash -e if [ "$1" = "upgrade" ]; then if [ -x /usr/sbin/invoke-rc.d ]; then invoke-rc.d rrdcollect stop || true else /etc/init.d/rrdcollect stop || true fi fi ##DEBHELPER## debian/rrdcollect.conf0000644000000000000000000000167511334046247012207 0ustar # This is only example of configuration file. Read carefuly comments in it. # Read also /usr/share/doc/rrdcollect/README.Debian for explanation # and examples. # Configuration values: step = 60 #directory = /var/lib/rrdcollect # Memory usage # Read README.Debian, section II.2 file:///proc/meminfo "Mem: %*d %d %d %d %d %d" memory.rrd:mem_used,mem_free,mem_shared,mem_buffers,mem_cached "Swap: %*d %d %*d" memory.rrd:swap_used # System statistics: # Read README.Debian, section II.2 file:///proc/stat "cpu %d %d %d %d" stat.rrd:cpu_user,cpu_nice,cpu_system,cpu_idle "ctxt %u" stat.rrd:ctxt "page %u %u" stat.rrd:page_in,page_out "processes %u" stat.rrd:processes "swap %u %u" stat.rrd:swap_in,swap_out # S.M.A.R.T. HDD temperature: # Read README.Debian, section II.5 ##file:///proc/ide/hda/smart_values ##7:"%*04x %*04x %02x%*02x" temperature.rrd:hda ##file:///proc/ide/hdb/smart_values ##7:"%*04x %*04x %02x%*02x" temperature.rrd:hdb