Code

collectd.git
18 years agoMerged revision 324 to branches/collectd-quota and tags/collectd-3.5.0
octo [Fri, 16 Dec 2005 13:00:33 +0000 (13:00 +0000)]
Merged revision 324 to branches/collectd-quota and tags/collectd-3.5.0

18 years agoMerged revision 324 to branches/collectd-quota and tags/collectd-3.5.0
octo [Fri, 16 Dec 2005 13:00:33 +0000 (13:00 +0000)]
Merged revision 324 to branches/collectd-quota and tags/collectd-3.5.0

18 years agoCopied the trunk to tags/collectd-3.5.0
octo [Fri, 16 Dec 2005 12:57:47 +0000 (12:57 +0000)]
Copied the trunk to tags/collectd-3.5.0

18 years agoMerged revision 321 from the trunk to the branches
octo [Fri, 16 Dec 2005 12:56:34 +0000 (12:56 +0000)]
Merged revision 321 from the trunk to the branches

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 agoMerged revisions 317 and 318 from trunk to the branches
octo [Fri, 16 Dec 2005 12:46:43 +0000 (12:46 +0000)]
Merged revisions 317 and 318 from trunk to the branches

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 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 trunk@315 to branches/collectd-quota
octo [Fri, 16 Dec 2005 10:33:59 +0000 (10:33 +0000)]
Merged changes from trunk@315 to branches/collectd-quota

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 agoadd comments and added/changed options that can be passed to collectd.
niki [Thu, 15 Dec 2005 12:11:40 +0000 (12:11 +0000)]
add comments and added/changed options that can be passed to collectd.

18 years agousers module compile now always.
niki [Thu, 15 Dec 2005 12:10:12 +0000 (12:10 +0000)]
users module compile now always.

18 years agocleanup
niki [Thu, 15 Dec 2005 12:09:25 +0000 (12:09 +0000)]
cleanup

18 years agocleanup style
niki [Thu, 15 Dec 2005 09:53:31 +0000 (09:53 +0000)]
cleanup style

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 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 agoadd info in output of configure
niki [Wed, 14 Dec 2005 18:35:12 +0000 (18:35 +0000)]
add info in output of configure

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 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 agoforgot to change comment...
niki [Wed, 14 Dec 2005 13:50:52 +0000 (13:50 +0000)]
forgot to change comment...

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 agointroduced AC_COLLECTD macro in configure.in.
niki [Wed, 14 Dec 2005 13:42:43 +0000 (13:42 +0000)]
introduced AC_COLLECTD macro in configure.in.
it makes things much more readable and reduces making mistakes in the enable/disable options.
some predefined tests are not done anymore, only the parameter on the configure line is checked.
i think that those dependencies should go into the module via #if/#endif...

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 agoMerged revision 288 (addition of copyright messages to all *.[ch] files) from trunk...
octo [Tue, 13 Dec 2005 07:54:53 +0000 (07:54 +0000)]
Merged revision 288 (addition of copyright messages to all *.[ch] files) from trunk to quota-branch

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 agosome fixes
niki [Mon, 12 Dec 2005 06:45:38 +0000 (06:45 +0000)]
some fixes

18 years agoMerged trunk... huh...
niki [Sun, 11 Dec 2005 15:16:52 +0000 (15:16 +0000)]
Merged trunk... huh...

18 years agosetfile -> resetfile
niki [Sun, 11 Dec 2005 12:24:43 +0000 (12:24 +0000)]
setfile -> resetfile

18 years agounnecessary
niki [Sun, 11 Dec 2005 11:45:39 +0000 (11:45 +0000)]
unnecessary

18 years agoHuge changes. Segfaults at the moment, but this is the way we want to go...
niki [Sun, 11 Dec 2005 11:30:40 +0000 (11:30 +0000)]
Huge changes. Segfaults at the moment, but this is the way we want to go...

18 years agochanged quota_mnt_getlist().
niki [Sat, 10 Dec 2005 16:19:49 +0000 (16:19 +0000)]
changed quota_mnt_getlist().
it returns a pointer to the last entry now.

18 years agomade getmountopt and checkmountopt public as quota_mnt_getmountopt and quota_mnt_chec...
niki [Thu, 8 Dec 2005 22:14:24 +0000 (22:14 +0000)]
made getmountopt and checkmountopt public as quota_mnt_getmountopt and quota_mnt_checkmountopt

18 years agomissing in the repository since some time ...
niki [Thu, 8 Dec 2005 22:07:05 +0000 (22:07 +0000)]
missing in the repository since some time ...

18 years agomissing in the repository since some time ...
niki [Thu, 8 Dec 2005 21:56:41 +0000 (21:56 +0000)]
missing in the repository since some time ...

18 years agoremoval of libltdl. this is generated by the build.sh script by now.
niki [Thu, 8 Dec 2005 21:52:41 +0000 (21:52 +0000)]
removal of libltdl. this is generated by the build.sh script by now.

18 years agoa lot of updates. especially changed the dlopen-system to lt_dlopen-system (libtool...
niki [Thu, 8 Dec 2005 16:47:00 +0000 (16:47 +0000)]
a lot of updates. especially changed the dlopen-system to lt_dlopen-system (libtool dlopen)

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 agoWe are getting somewhere. Quotas are read for the first 1000 uids / gids. It is a...
niki [Sat, 3 Dec 2005 15:40:31 +0000 (15:40 +0000)]
We are getting somewhere. Quotas are read for the first 1000 uids / gids. It is a stupid for()-loop that has to be changed somehow (Cannot/Shouldn't do that for all uids/gids! But it seems that the quota implementations have no easy way to find out which user/group id's are actually used).

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 agoMany changes. Got rid of hasmntopt (own version is in place now), detect loop= and...
niki [Fri, 2 Dec 2005 12:47:23 +0000 (12:47 +0000)]
Many changes. Got rid of hasmntopt (own version is in place now), detect loop= and --bind mounts, added sfree (not sure if really necessary), added usrjquota/grpjquota infrastructure.

18 years agoMerged changes in configure.in and Makefile.am to the `quota' branch
octo [Thu, 1 Dec 2005 19:28:30 +0000 (19:28 +0000)]
Merged changes in configure.in and Makefile.am to the `quota' branch

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 agoMany changes, but getting to somewhere. Plugin segfaults at the moment but i check...
niki [Thu, 1 Dec 2005 09:46:20 +0000 (09:46 +0000)]
Many changes, but getting to somewhere. Plugin segfaults at the moment but i check it in anyway.

18 years agoAdding a couple of #if HAVE_ as described in info autoconf (Default Includes).
niki [Thu, 1 Dec 2005 09:45:47 +0000 (09:45 +0000)]
Adding a couple of #if HAVE_ as described in info autoconf (Default Includes).

18 years agoStarted working on ext3/linux quotactl command.
niki [Wed, 30 Nov 2005 12:52:59 +0000 (12:52 +0000)]
Started working on ext3/linux quotactl command.

18 years agoSolaris bugfixes.
niki [Tue, 29 Nov 2005 23:31:13 +0000 (23:31 +0000)]
Solaris bugfixes.

18 years agoupdate some general information and added add checks for configure
niki [Tue, 29 Nov 2005 23:26:01 +0000 (23:26 +0000)]
update some general information and added add checks for configure

18 years agotest
niki [Tue, 29 Nov 2005 23:06:30 +0000 (23:06 +0000)]
test

18 years agotest
niki [Tue, 29 Nov 2005 23:04:39 +0000 (23:04 +0000)]
test

18 years agoUpdated `NEWS'
octo [Tue, 29 Nov 2005 14:52:31 +0000 (14:52 +0000)]
Updated `NEWS'

18 years agoAdded Niki Waibel's quota patch
octo [Tue, 29 Nov 2005 13:01:15 +0000 (13:01 +0000)]
Added Niki Waibel's quota patch

18 years agoAdded `quota' branch
octo [Tue, 29 Nov 2005 12:37:51 +0000 (12:37 +0000)]
Added `quota' branch

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