Minor changes since I was a little bored ;)
- Corrected ChangeLog
- Added comments and TODOs to `configfile.c'
- ``corrected'' indentation in `common.c'
- Corrected ChangeLog
- Added comments and TODOs to `configfile.c'
- ``corrected'' indentation in `common.c'
18 years agoMoved `exit_usage' from `collectd.c' to `configfile.c' and renamed it to `cf_callback...
Moved `exit_usage' from `collectd.c' to `configfile.c' and renamed it to `cf_callback_usage'.
Removed the `getopt' code. Argument parsing is now done by `libconfig' as well.
Fixed a typo in `collectd.c' which prevented collectd from catching a SIGINT..
Removed the `getopt' code. Argument parsing is now done by `libconfig' as well.
Fixed a typo in `collectd.c' which prevented collectd from catching a SIGINT..
Added mysql_{commands,handler} to `collection.cgi'
Added `Handler_*' support to the `mysql' plugin
The `mysql' plugin now ignores all counter that are set to zero..
The `mysql' plugin now ignores all counter that are set to zero..
Changed the `cpu' graph to display percentages
Since a second is not always 100 jiffies remove the upper bound of `100' for cpu-*.rrd files.
Fixed documentation in `configfile.h': s/Module/Plugin/
Moved an error message in `common.c'..
Moved the call to `check_create_dir' so it's run less frequently.
Moved an error message in `common.c'..
Moved the call to `check_create_dir' so it's run less frequently.
Changed mysql plugin to create one RRD file for each command
Added the functions `strjoin' and `escape_slashes' to `common.c'.
Changed `check_create_dir' so it can recursively create directories.
Documented `strsplit', `strjoin' and `escape_slashes' in `common.h'.
Changed `check_create_dir' so it can recursively create directories.
Documented `strsplit', `strjoin' and `escape_slashes' in `common.h'.
18 years agoFixed a problem with the `disk' plugin: Added a counter to check how often the values...
Fixed a problem with the `disk' plugin: Added a counter to check how often the values were queried, so that no huge peeks appear in the RRD files.
typo
Changed `plugin_set_dir' to take a `const' argument.
Reorganized the `configfile.c' file. Changed callback names, their order and added comments.
Added `cf_callback_mode_plugindir' to allow the config file to change the plugin directory.
Reorganized the `configfile.c' file. Changed callback names, their order and added comments.
Added `cf_callback_mode_plugindir' to allow the config file to change the plugin directory.
Added to src/configfile.c:
`cf_callback_options_mode': Callback for <Mode> options
`cf_get_mode_option': Function to query above options
`cf_callback_options_mode': Callback for <Mode> options
`cf_get_mode_option': Function to query above options
removed )
Updated ChangeLog for 3.5.1
Updated specfile and debian changelog
Updated specfile and debian changelog
Updated changelog
Moved the signal handler initialization so it gets run in the child, not the parent..
Finished up `df' plugin
Added first version of a `df' module
Added contribution for Tommie Gannert's PID-file patch to `AUTHORS'
Added `mysql' status line to configure.in
Corrected dependencies in src/libconfig/Makefile.am
Removed dependency to `mysql.h' (since it doesn't exist)
Corrected dependencies in src/libconfig/Makefile.am
Removed dependency to `mysql.h' (since it doesn't exist)
Changed default `host' for `mysql' to `localhost'
Added SIGTERM handler
Updated `ChangeLog'
Added SIGTERM handler
Updated `ChangeLog'
Added check for `libmysqlclient' to `configure.in'
Added `AC_COLLECTD' for `mysql' plugin
Added `mysql' plugin
Added a warning (notice, actually) message to inform users of `write-only' plugins
Added `AC_COLLECTD' for `mysql' plugin
Added `mysql' plugin
Added a warning (notice, actually) message to inform users of `write-only' plugins
Moved the *_HAVE_READ defines: *_submit may only be included when *_read is included too. Otherwise the compiler will complain.
Cleaned up all the modules, unified define order and the like..
Changed plugins `serial' through `users' to be able to build in read-only mode
18 years agoChanged modules `cpu' through `sensors' to compile in `read-only' mode if dependencie...
Changed modules `cpu' through `sensors' to compile in `read-only' mode if dependencies are not fullfiled..
Changed the cpu plugin to not use its headerfile anymore.
Fixed a small bug in configfile.c: `==' -> `='
Fixed a small bug in configfile.c: `==' -> `='
Merged branch configfile to trunk
Took a closer `look' at last nights changes..
main() prototype causes trouble when configure is using int main(void)...
space -> tab
#ifdef -> #if
cleanup, pidfile_remove bugfix, options (configdir?)
cleanup configure headers
options, static, #if's and debugging
added conditions and implemented AC_COLLECTD() macro.
only disk module, debug and daemon feature are using it for now.
only disk module, debug and daemon feature are using it for now.
fixed static filename bug, cleanup of --disable-debug mode
cleanup on users module
cleanup on sensors
clenaup on libstatgrab
cleanup on libstatgrab
cleanup
changed unportable
test X -a Y
to
test X && test Y
test X -a Y
to
test X && test Y
make configure a bit more informative
syslog and sys/param.h check
Merged revision 326 to tags/collectd-3.5.0 and the branches
Commented out `CONFIGFILE' in collectd.c
Added `$(LTDLINCL)' to `collectd_CPPFLAGS'
Added `$(LTDLINCL)' to `collectd_CPPFLAGS'
Makefile.am:12: `#' comment at start of rule is unportable
make: *** [Makefile.in] Error 1
make: *** [Makefile.in] Error 1
Merged revision 321 from the trunk to the branches
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
Added revision to ChangeLog
Commented out the creation of `$prefix/etc' in Makefile.am
Merged revisions 317 and 318 from trunk to the branches
Changed collectd.c so the `-P pidfile' option has an effect
Updated debian/changelog
Bumped version number to 3.5.0
Bumped version number to 3.5.0
Fixed type (forgotten semicolon) from the previous merges
Merged changes from revision 314 (branches/collectd-configfile) to trunk
Changed the merger to fit better with the configfile concept
SYSCONFDIR -> CONFIGFILE
LOCALSTATEDIR: var -> var/lib
SYSCONFDIR -> CONFIGFILE
LOCALSTATEDIR: var -> var/lib
Merged revisioni 312 to configfile branch
Merged changes from the quota-branch:
- Changed command line options to be more consitent
- Hopefully changed automake to it creates directories
- Changed command line options to be more consitent
- Hopefully changed automake to it creates directories
Merged revision 304 (removal of all `extern time_t curtime' in all plugins) to the branches
Changed the term `Module' to `Plugin' in configfile.c. This seemed more consistent.
Added a `break' where it was needed..
Added a `break' where it was needed..
removed
extern time_t curtime;
in all modules (is present in src/collectd.h).
extern time_t curtime;
in all modules (is present in src/collectd.h).
Merged the fix of Revision 302 to the branches
Fixed weird bug in processes.c. Thanks to Stuart Nicholson for pointing it out
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'..
Fixed small but in the call to `plugin_load': We need the `value', not the `key'..
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
Added syslog-output to configfile.c
Changed `plugin_load' to take a `const' parameter
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
Renamed `plugin_load' to `plugin_load_file'
Implemented `plugin_load' which works with plugin-names rather than filenames
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.
maybe we should start including common.h instead and do all fancy #if/#endif there.
Added `configfile.[ch]' to configfile-branch (forgot that yesterday)
Added a call to `cf_register' to `ping.c' to test everything
Added a call to `cf_register' to `ping.c' to test everything
Changed return type of `plugin_exists' from `bool' to `int' since `bool' appears not to be an elementar data type.
Added defines `SYSCONFDIR' and `CONFIGFILE' to `collectd.h'
Added function `plugin_exists (char *type)' to `plugin.[ch]'
Added function `plugin_exists (char *type)' to `plugin.[ch]'
The configfile-branch now compiles.
Added src/libconfig so distribution
Created branch `configfile'
Added copyright/GPL header to all .c and .h files in trunk
Updated chanelog in trunk
Updated chanelog in trunk
Added copyright notices to src/multicast.[ch] and src/collectd.[ch] in trunk
Commented the configure and Makefile rules for the quota module
Deleted `src/stamp-h1.in', `src/config.h.in' and `INSTALL' in trunk
Copied clean.sh and bruild.sh from quota-branch to trunk
Merged autotools changes (configure.in, src/plugin.c, src/Makefile.am, Makefile.am) from quota-branch to trunk
Merged changes on `processes.c', `collectd.c' and `collectd.h' from quota-branch to trunk
Merged changes on `common.[ch]' from quota-branch to trunk
Copied src/utils_mount.[ch] from quota-branch to trunk
Copied src/utils_debug.[ch] from quota-branch to trunk
Added potential bug
Added FreeBSD support to the cpu module
Improved the build process a bit..
Bumped version to 3.5.alpha0
Bumped version to 3.5.alpha0
Updated the manpage (added multicast routing information and fixed typos)
Fixes for the load module (did not work correctly under Solaris)
Added backwards compatibility to `users.c', so I can use `utmp' too if `utmpx' is not found.
Added checks for `utmpx.h' and `getutxent' to the configure script
Now using utmpx instead of utmp in users.c to be POSIX 1003.1-2001 compliant.
First version of the users plugin.
Corrected the default prefix in `INSTALL'
Added information about cpufreq to ReadMe and manpage
Changes debian package to build with the new path settings
RRDs and PID file are now underneath `localstatedir'
Fiddling with that autoconf/automake stuff..
Merged Niki's changes to `collectd.h' to trunk/
Moved files into standard directory structure