Code

collectd.git
18 years agocleanup, pidfile_remove bugfix, options (configdir?)
niki [Sat, 17 Dec 2005 03:27:30 +0000 (03:27 +0000)]
cleanup, pidfile_remove bugfix, options (configdir?)

18 years agocleanup configure headers
niki [Sat, 17 Dec 2005 03:09:11 +0000 (03:09 +0000)]
cleanup configure headers

18 years agooptions, static, #if's and debugging
niki [Sat, 17 Dec 2005 02:41:20 +0000 (02:41 +0000)]
options, static, #if's and debugging

18 years agoadded conditions and implemented AC_COLLECTD() macro.
niki [Sat, 17 Dec 2005 02:38:31 +0000 (02:38 +0000)]
added conditions and implemented AC_COLLECTD() macro.
only disk module, debug and daemon feature are using it for now.

18 years agofixed static filename bug, cleanup of --disable-debug mode
niki [Sat, 17 Dec 2005 02:35:20 +0000 (02:35 +0000)]
fixed static filename bug, cleanup of --disable-debug mode

18 years agocleanup on users module
niki [Fri, 16 Dec 2005 17:37:31 +0000 (17:37 +0000)]
cleanup on users module

18 years agocleanup on sensors
niki [Fri, 16 Dec 2005 17:14:09 +0000 (17:14 +0000)]
cleanup on sensors

18 years agoclenaup on libstatgrab
niki [Fri, 16 Dec 2005 17:07:42 +0000 (17:07 +0000)]
clenaup on libstatgrab

18 years agocleanup on libstatgrab
niki [Fri, 16 Dec 2005 17:05:57 +0000 (17:05 +0000)]
cleanup on libstatgrab

18 years agocleanup
niki [Fri, 16 Dec 2005 17:03:48 +0000 (17:03 +0000)]
cleanup

18 years agochanged unportable
niki [Fri, 16 Dec 2005 16:56:14 +0000 (16:56 +0000)]
changed unportable
test X -a  Y
to
test X && test Y

18 years agomake configure a bit more informative
niki [Fri, 16 Dec 2005 16:53:44 +0000 (16:53 +0000)]
make configure a bit more informative

18 years agosyslog and sys/param.h check
niki [Fri, 16 Dec 2005 16:51:09 +0000 (16:51 +0000)]
syslog and sys/param.h check

18 years agoCommented out `CONFIGFILE' in collectd.c
octo [Fri, 16 Dec 2005 14:35:53 +0000 (14:35 +0000)]
Commented out `CONFIGFILE' in collectd.c
Added `$(LTDLINCL)' to `collectd_CPPFLAGS'

18 years agoMakefile.am:12: `#' comment at start of rule is unportable
octo [Fri, 16 Dec 2005 12:59:38 +0000 (12:59 +0000)]
Makefile.am:12: `#' comment at start of rule is unportable
make: *** [Makefile.in] Error 1

18 years agoChanged the `-d' switch to `-D' in the init.d-files
octo [Fri, 16 Dec 2005 12:55:32 +0000 (12:55 +0000)]
Changed the `-d' switch to `-D' in the init.d-files
Added revision to ChangeLog
Commented out the creation of `$prefix/etc' in Makefile.am

18 years agoChanged collectd.c so the `-P pidfile' option has an effect
octo [Fri, 16 Dec 2005 12:36:34 +0000 (12:36 +0000)]
Changed collectd.c so the `-P pidfile' option has an effect

18 years agoUpdated debian/changelog
octo [Fri, 16 Dec 2005 12:34:07 +0000 (12:34 +0000)]
Updated debian/changelog
Bumped version number to 3.5.0

18 years agoFixed type (forgotten semicolon) from the previous merges
octo [Fri, 16 Dec 2005 10:36:36 +0000 (10:36 +0000)]
Fixed type (forgotten semicolon) from the previous merges

18 years agoMerged changes from revision 314 (branches/collectd-configfile) to trunk
octo [Fri, 16 Dec 2005 10:32:22 +0000 (10:32 +0000)]
Merged changes from revision 314 (branches/collectd-configfile) to trunk

18 years agoChanged the merger to fit better with the configfile concept
octo [Fri, 16 Dec 2005 10:22:58 +0000 (10:22 +0000)]
Changed the merger to fit better with the configfile concept
SYSCONFDIR -> CONFIGFILE
LOCALSTATEDIR: var -> var/lib

18 years agoMerged revisioni 312 to configfile branch
octo [Fri, 16 Dec 2005 10:11:34 +0000 (10:11 +0000)]
Merged revisioni 312 to configfile branch

18 years agoMerged changes from the quota-branch:
octo [Fri, 16 Dec 2005 09:58:46 +0000 (09:58 +0000)]
Merged changes from the quota-branch:
- Changed command line options to be more consitent
- Hopefully changed automake to it creates directories

18 years agoMerged revision 304 (removal of all `extern time_t curtime' in all plugins) to the...
octo [Thu, 15 Dec 2005 07:06:17 +0000 (07:06 +0000)]
Merged revision 304 (removal of all `extern time_t curtime' in all plugins) to the branches

18 years agoChanged the term `Module' to `Plugin' in configfile.c. This seemed more consistent.
octo [Thu, 15 Dec 2005 06:58:39 +0000 (06:58 +0000)]
Changed the term `Module' to `Plugin' in configfile.c. This seemed more consistent.
Added a `break' where it was needed..

18 years agoremoved
niki [Wed, 14 Dec 2005 18:32:51 +0000 (18:32 +0000)]
removed
extern time_t curtime;
in all modules (is present in src/collectd.h).

18 years agoMerged the fix of Revision 302 to the branches
octo [Wed, 14 Dec 2005 18:00:25 +0000 (18:00 +0000)]
Merged the fix of Revision 302 to the branches

18 years agoFixed weird bug in processes.c. Thanks to Stuart Nicholson for pointing it out
octo [Wed, 14 Dec 2005 17:58:43 +0000 (17:58 +0000)]
Fixed weird bug in processes.c. Thanks to Stuart Nicholson for pointing it out

18 years agoChanged error messages for calls to `mkdir': Report creation of which directory failed
octo [Wed, 14 Dec 2005 14:26:14 +0000 (14:26 +0000)]
Changed error messages for calls to `mkdir': Report creation of which directory failed
Fixed small but in the call to `plugin_load': We need the `value', not the `key'..

18 years agoAdded `cf_read' to the daemon startup and removed the old call to `plugin_load_all'.
octo [Wed, 14 Dec 2005 14:14:20 +0000 (14:14 +0000)]
Added `cf_read' to the daemon startup and removed the old call to `plugin_load_all'.
Added syslog-output to configfile.c
Changed `plugin_load' to take a `const' parameter

18 years agoImplemented `plugin_get_dir' and `plugin_set_dir'
octo [Wed, 14 Dec 2005 13:48:28 +0000 (13:48 +0000)]
Implemented `plugin_get_dir' and `plugin_set_dir'
Renamed `plugin_load' to `plugin_load_file'
Implemented `plugin_load' which works with plugin-names rather than filenames

18 years agoautoconf info page mentions that including config.h has to be done this way.
niki [Wed, 14 Dec 2005 13:48:25 +0000 (13:48 +0000)]
autoconf info page mentions that including config.h has to be done this way.
maybe we should start including common.h instead and do all fancy #if/#endif there.

18 years agoAdded `configfile.[ch]' to configfile-branch (forgot that yesterday)
octo [Wed, 14 Dec 2005 08:56:37 +0000 (08:56 +0000)]
Added `configfile.[ch]' to configfile-branch (forgot that yesterday)
Added a call to `cf_register' to `ping.c' to test everything

18 years agoChanged return type of `plugin_exists' from `bool' to `int' since `bool' appears...
octo [Tue, 13 Dec 2005 21:53:55 +0000 (21:53 +0000)]
Changed return type of `plugin_exists' from `bool' to `int' since `bool' appears not to be an elementar data type.

18 years agoAdded defines `SYSCONFDIR' and `CONFIGFILE' to `collectd.h'
octo [Tue, 13 Dec 2005 21:50:01 +0000 (21:50 +0000)]
Added defines `SYSCONFDIR' and `CONFIGFILE' to `collectd.h'
Added function `plugin_exists (char *type)' to `plugin.[ch]'

18 years agoThe configfile-branch now compiles.
octo [Tue, 13 Dec 2005 18:27:57 +0000 (18:27 +0000)]
The configfile-branch now compiles.

18 years agoAdded src/libconfig so distribution
octo [Tue, 13 Dec 2005 17:57:47 +0000 (17:57 +0000)]
Added src/libconfig so distribution

18 years agoCreated branch `configfile'
octo [Tue, 13 Dec 2005 15:24:31 +0000 (15:24 +0000)]
Created branch `configfile'

18 years agoAdded copyright/GPL header to all .c and .h files in trunk
octo [Tue, 13 Dec 2005 07:51:10 +0000 (07:51 +0000)]
Added copyright/GPL header to all .c and .h files in trunk
Updated chanelog in trunk

18 years agoAdded copyright notices to src/multicast.[ch] and src/collectd.[ch] in trunk
octo [Mon, 12 Dec 2005 18:54:10 +0000 (18:54 +0000)]
Added copyright notices to src/multicast.[ch] and src/collectd.[ch] in trunk

18 years agoCommented the configure and Makefile rules for the quota module
octo [Mon, 12 Dec 2005 18:29:28 +0000 (18:29 +0000)]
Commented the configure and Makefile rules for the quota module

18 years agoDeleted `src/stamp-h1.in', `src/config.h.in' and `INSTALL' in trunk
octo [Mon, 12 Dec 2005 09:01:21 +0000 (09:01 +0000)]
Deleted `src/stamp-h1.in', `src/config.h.in' and `INSTALL' in trunk

18 years agoCopied clean.sh and bruild.sh from quota-branch to trunk
octo [Mon, 12 Dec 2005 08:07:51 +0000 (08:07 +0000)]
Copied clean.sh and bruild.sh from quota-branch to trunk

18 years agoMerged autotools changes (configure.in, src/plugin.c, src/Makefile.am, Makefile.am...
octo [Mon, 12 Dec 2005 08:06:53 +0000 (08:06 +0000)]
Merged autotools changes (configure.in, src/plugin.c, src/Makefile.am, Makefile.am) from quota-branch to trunk

18 years agoMerged changes on `processes.c', `collectd.c' and `collectd.h' from quota-branch...
octo [Mon, 12 Dec 2005 07:58:44 +0000 (07:58 +0000)]
Merged changes on `processes.c', `collectd.c' and `collectd.h' from quota-branch to trunk

18 years agoMerged changes on `common.[ch]' from quota-branch to trunk
octo [Mon, 12 Dec 2005 07:51:19 +0000 (07:51 +0000)]
Merged changes on `common.[ch]' from quota-branch to trunk

18 years agoCopied src/utils_mount.[ch] from quota-branch to trunk
octo [Mon, 12 Dec 2005 07:36:03 +0000 (07:36 +0000)]
Copied src/utils_mount.[ch] from quota-branch to trunk

18 years agoCopied src/utils_debug.[ch] from quota-branch to trunk
octo [Mon, 12 Dec 2005 07:35:29 +0000 (07:35 +0000)]
Copied src/utils_debug.[ch] from quota-branch to trunk

18 years agoAdded potential bug
octo [Mon, 12 Dec 2005 07:24:40 +0000 (07:24 +0000)]
Added potential bug

18 years agoAdded FreeBSD support to the cpu module
octo [Thu, 8 Dec 2005 14:27:19 +0000 (14:27 +0000)]
Added FreeBSD support to the cpu module

18 years agoImproved the build process a bit..
octo [Wed, 7 Dec 2005 10:52:51 +0000 (10:52 +0000)]
Improved the build process a bit..
Bumped version to 3.5.alpha0

18 years agoUpdated the manpage (added multicast routing information and fixed typos)
octo [Wed, 7 Dec 2005 09:01:37 +0000 (09:01 +0000)]
Updated the manpage (added multicast routing information and fixed typos)

18 years agoFixes for the load module (did not work correctly under Solaris)
octo [Tue, 6 Dec 2005 12:24:51 +0000 (12:24 +0000)]
Fixes for the load module (did not work correctly under Solaris)

18 years agoAdded backwards compatibility to `users.c', so I can use `utmp' too if `utmpx' is...
octo [Tue, 6 Dec 2005 07:57:44 +0000 (07:57 +0000)]
Added backwards compatibility to `users.c', so I can use `utmp' too if `utmpx' is not found.

18 years agoAdded checks for `utmpx.h' and `getutxent' to the configure script
octo [Sun, 4 Dec 2005 18:34:48 +0000 (18:34 +0000)]
Added checks for `utmpx.h' and `getutxent' to the configure script

18 years agoNow using utmpx instead of utmp in users.c to be POSIX 1003.1-2001 compliant.
tokkee [Sun, 4 Dec 2005 18:23:19 +0000 (18:23 +0000)]
Now using utmpx instead of utmp in users.c to be POSIX 1003.1-2001 compliant.

18 years agoFirst version of the users plugin.
tokkee [Sun, 4 Dec 2005 18:16:13 +0000 (18:16 +0000)]
First version of the users plugin.

18 years agoCorrected the default prefix in `INSTALL'
octo [Sat, 3 Dec 2005 10:25:27 +0000 (10:25 +0000)]
Corrected the default prefix in `INSTALL'

18 years agoAdded information about cpufreq to ReadMe and manpage
octo [Fri, 2 Dec 2005 23:57:23 +0000 (23:57 +0000)]
Added information about cpufreq to ReadMe and manpage

18 years agoChanges debian package to build with the new path settings
octo [Thu, 1 Dec 2005 19:25:21 +0000 (19:25 +0000)]
Changes debian package to build with the new path settings

18 years agoRRDs and PID file are now underneath `localstatedir'
octo [Thu, 1 Dec 2005 16:58:11 +0000 (16:58 +0000)]
RRDs and PID file are now underneath `localstatedir'

18 years agoFiddling with that autoconf/automake stuff..
octo [Thu, 1 Dec 2005 16:16:41 +0000 (16:16 +0000)]
Fiddling with that autoconf/automake stuff..

18 years agoMerged Niki's changes to `collectd.h' to trunk/
octo [Thu, 1 Dec 2005 10:45:44 +0000 (10:45 +0000)]
Merged Niki's changes to `collectd.h' to trunk/

18 years agoMoved files into standard directory structure collectd-2.0.1
octo [Tue, 29 Nov 2005 12:09:45 +0000 (12:09 +0000)]
Moved files into standard directory structure