write_mongodb plugin: Actually implement the "Timeout" option.
Change-Id: I8eb1bc53a15cd301d663e55a5ea71e46013f04c5
Change-Id: I8eb1bc53a15cd301d663e55a5ea71e46013f04c5
collectd.conf(5): Add documentation for the write_mongodb plugin.
Resolves GitHub issue #37.
Change-Id: I9b2ff533003e379f0eb81de256a946fdf8851661
Resolves GitHub issue #37.
Change-Id: I9b2ff533003e379f0eb81de256a946fdf8851661
conntrack plugin: Strip newlie before calling parse_value().
Change-Id: Ifa4db20a6b937912db77a214d2c0ef3eeebfa164
Change-Id: Ifa4db20a6b937912db77a214d2c0ef3eeebfa164
Use parse_value in the conntrack plugin and submit the result even if it's zero
Dear collectd,
Please find attached a patch for the conntrack plugin.
The patch is about two things:
1. submit the value even if it is zero (which is a legitimate value according
to types.db);
2. use parse_value and a value_t instead of directly using a double and atof(3).
The first point was important because it meant that the metric was not created
when the initial value was zero. (It could also lead to holes in your graphs).
The parse_value return value is correctly checked, note that the parsed file
ends with a \n which mean that parse_value always complain when running in
debug/info maybe we should replace it with a \0 before handing the buffer to
parse_value() ?
Thanks
--
Louis Opter
Signed-off-by: Florian Forster <octo@collectd.org>
Dear collectd,
Please find attached a patch for the conntrack plugin.
The patch is about two things:
1. submit the value even if it is zero (which is a legitimate value according
to types.db);
2. use parse_value and a value_t instead of directly using a double and atof(3).
The first point was important because it meant that the metric was not created
when the initial value was zero. (It could also lead to holes in your graphs).
The parse_value return value is correctly checked, note that the parsed file
ends with a \n which mean that parse_value always complain when running in
debug/info maybe we should replace it with a \0 before handing the buffer to
parse_value() ?
Thanks
--
Louis Opter
Signed-off-by: Florian Forster <octo@collectd.org>
Fix buffer size for memcached stats answer
Typical stats answer has ~1900 bytes length.
$ memcached-tool localhost:11211 stats | wc -c
1863
But buffer for this answer was only 1024 bytes length.
Signed-off-by: Florian Forster <octo@collectd.org>
Typical stats answer has ~1900 bytes length.
$ memcached-tool localhost:11211 stats | wc -c
1863
But buffer for this answer was only 1024 bytes length.
Signed-off-by: Florian Forster <octo@collectd.org>
Merge pull request #36 from octo/mh/softraid
Merge the "md" plugin, collecting disk counts from Linux software-RAID devices.
Merge the "md" plugin, collecting disk counts from Linux software-RAID devices.
AUTHORS, README: Add Michael Hanselmann / the md plugin.
collectd.conf(5): Update the information on the md plugin.
md plugin: Change metrics so each disk is reported only once.
This hopefully makes graphing easier.
This hopefully makes graphing easier.
Also check in ip4tc for iptc_init
./configure --enable-iptables was failing on fedora as iptc_init
wasn't found. This patches configure.in to also look in ip4tc
Signed-off-by: Florian Forster <octo@collectd.org>
./configure --enable-iptables was failing on fedora as iptc_init
wasn't found. This patches configure.in to also look in ip4tc
Signed-off-by: Florian Forster <octo@collectd.org>
Merge pull request #38 from octo/ff/mongodb
write_mongodb plugin: Implement the "StoreRates" option.
write_mongodb plugin: Implement the "StoreRates" option.
write_mongodb plugin: Implement the "StoreRates" option.
Change-Id: I73503de7605d456156664fd91c81cac1f3624939
Change-Id: I73503de7605d456156664fd91c81cac1f3624939
Plugin for Linux Software-RAID devices
This is an initial implementation of a plugin to collect information
about Linux Software-RAID (md) devices. It reports the number of
component devices, number of devices in array, number of active,
working, failed and spare disks.
Change-Id: Id0ba8e678f33153112e9999c6341dd2ce71b10c0
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Signed-off-by: Florian Forster <octo@collectd.org>
This is an initial implementation of a plugin to collect information
about Linux Software-RAID (md) devices. It reports the number of
component devices, number of devices in array, number of active,
working, failed and spare disks.
Change-Id: Id0ba8e678f33153112e9999c6341dd2ce71b10c0
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Signed-off-by: Florian Forster <octo@collectd.org>
contrib/exec-ksm.sh: Exec plugin for Kernel Samepage Merging (KSM).
Change-Id: I98d834ca849b21637c8fb00a63a037b73e0879b7
Change-Id: I98d834ca849b21637c8fb00a63a037b73e0879b7
Merge branch 'collectd-5.0'
Conflicts:
src/amqp.c
Change-Id: I85ab3ee2b51830ad0b5d474cf1f18b5c828d6588
Conflicts:
src/amqp.c
Change-Id: I85ab3ee2b51830ad0b5d474cf1f18b5c828d6588
Merge branch 'collectd-4.10' into collectd-5.0
Conflicts:
src/df.c
Change-Id: Ie7c9fd4a20cc356bb53b135bf2ca2d5162a8a953
Conflicts:
src/df.c
Change-Id: Ie7c9fd4a20cc356bb53b135bf2ca2d5162a8a953
contrib/exec-nagios.px: Implement the "NRPEConfig" option.
syslog plugin: Copy the BUFFER_ADD() macro from src/utils_format_json.c.
Also determine the string representation of the severity in the switch
block, since it's much easier to read than the ?:-cascade.
Change-Id: Ieb5467633db3e06e1fad6a60b5a19fd7708e2002
Also determine the string representation of the severity in the switch
block, since it's much easier to read than the ?:-cascade.
Change-Id: Ieb5467633db3e06e1fad6a60b5a19fd7708e2002
syslog plugin: Log "OKAY" notifications with severity "NOTICE".
It's a noteworthy event that implies normal operation, i.e. NOTICE. Also
renamed "severity" to "log_severity" to emphasize its use.
Change-Id: I7f3e4b12dabeb0caa9c9c8c86924bf77b2627ba1
It's a noteworthy event that implies normal operation, i.e. NOTICE. Also
renamed "severity" to "log_severity" to emphasize its use.
Change-Id: I7f3e4b12dabeb0caa9c9c8c86924bf77b2627ba1
syslog plugin: Change notification severity handling.
This way it is more like log severity handling, i.e. "OKAY" implies
"WARNING" and "WARNING" implies "FAILURE".
Change-Id: I972c09e4bc9e26b5abeb17cc4d8c5e0e1a42e1c3
This way it is more like log severity handling, i.e. "OKAY" implies
"WARNING" and "WARNING" implies "FAILURE".
Change-Id: I972c09e4bc9e26b5abeb17cc4d8c5e0e1a42e1c3
syslog plugin: Parse "value" as severity, not "key".
Change-Id: I4a7bde018be5a8925c9a998cd3e89e0289453063
Change-Id: I4a7bde018be5a8925c9a998cd3e89e0289453063
src/plugin.c: Fix use of strcmp().
Change-Id: I078ca80ba6e3cac413186c2ad063d32cdfbb398e
Change-Id: I078ca80ba6e3cac413186c2ad063d32cdfbb398e
Add notifications to syslog plugin
Deduplicated some code from logfile and syslog
and added NotifyLevel option to plugin.
Change-Id: I364067189d628420333cb625c885a256399e076a
Signed-off-by: Florian Forster <octo@collectd.org>
Deduplicated some code from logfile and syslog
and added NotifyLevel option to plugin.
Change-Id: I364067189d628420333cb625c885a256399e076a
Signed-off-by: Florian Forster <octo@collectd.org>
bind plugin: Fix use of the "QType" types.
This should resolve GitHub issue #21.
Change-Id: I67e4b440a6fbc8a8608fa672fb3320b05f9c0a12
This should resolve GitHub issue #21.
Change-Id: I67e4b440a6fbc8a8608fa672fb3320b05f9c0a12
Merge pull request #22 from bostjan/master
php-collection: Fixed DS definitions for apache_bytes, apache_requests and apache_scoreboard merge
php-collection: Fixed DS definitions for apache_bytes, apache_requests and apache_scoreboard merge
df plugin: Fix a compiler issue with Mac OS X 10.7.
Xcode Version 4.1 (11C74), GitHub issue #24
Change-Id: Ic6f49a95868c7f77bfb19f9c8afc87a97a1bf670
Xcode Version 4.1 (11C74), GitHub issue #24
Change-Id: Ic6f49a95868c7f77bfb19f9c8afc87a97a1bf670
12 years agophp-collection: Fixed DS definitions for apache_bytes, apache_requests and apache_sco...
php-collection: Fixed DS definitions for apache_bytes, apache_requests and apache_scoreboard merge
Merge pull request #18 from octo/hmh/sensors
sensors plugin: Fix initialization code.
sensors plugin: Fix initialization code.
sensors plugin: Make "conffile" non-const.
Change-Id: I0c718ee6cd727bd9868633312ea0f81a2b8f0e41
Change-Id: I0c718ee6cd727bd9868633312ea0f81a2b8f0e41
collectd.conf(5): Document the "SensorConfigFile" option.
Change-Id: I48ab713fbb7d0edefb6f3cb6948277144a66abdd
Change-Id: I48ab713fbb7d0edefb6f3cb6948277144a66abdd
sensors plugin: Fix memory leak in configuration; enhance comments.
Change-Id: Ic4f9d2aae1aec9fbd83307fe3bb7d476f49f6827
Change-Id: Ic4f9d2aae1aec9fbd83307fe3bb7d476f49f6827
src/collectd.conf.in: Add the "ParseTime" option to the "Plugin bind" block.
Change-Id: I4e6828d66ee441e0973b3f8ff73a1a50d4d6c90b
Change-Id: I4e6828d66ee441e0973b3f8ff73a1a50d4d6c90b
bind plugin: Implement the "ParseTime" option.
Change-Id: Ic1994440d462079bc16c70da495ff51728cb4aba
Change-Id: Ic1994440d462079bc16c70da495ff51728cb4aba
sensors plugin: Fix initialization code.
Sensors often require scaling. Also, you often have to disable them, or name
them.
The libsensors config file provides all these facilities. Without it, the
sensor plugin is mostly useless except for some values that are often already
properly scaled by the kernel (some temperatures, some fan tachometers).
In particular, it is utterly useless for voltage monitoring outside of the 3.3V
rails.
The plugin should either evaluate the libsensors config files at startup, or it
should provide facilities to give proper names and first-order polinomial
scaling+offset.
Change-Id: I97312bee5ca33fefe846a8cdc292818d46819574
Signed-off-by: Florian Forster <octo@collectd.org>
Sensors often require scaling. Also, you often have to disable them, or name
them.
The libsensors config file provides all these facilities. Without it, the
sensor plugin is mostly useless except for some values that are often already
properly scaled by the kernel (some temperatures, some fan tachometers).
In particular, it is utterly useless for voltage monitoring outside of the 3.3V
rails.
The plugin should either evaluate the libsensors config files at startup, or it
should provide facilities to give proper names and first-order polinomial
scaling+offset.
Change-Id: I97312bee5ca33fefe846a8cdc292818d46819574
Signed-off-by: Florian Forster <octo@collectd.org>
write_graphite plugin: Enable "StoreRates" by default.
Change-Id: I814c45d035ce42de07815fecfe0b667080e2d900
Change-Id: I814c45d035ce42de07815fecfe0b667080e2d900
write_graphite plugin: Add the "SeparateInstances" option.
Change-Id: I8670b62ed323698c7764d3039ccd8af052bd1b6f
Change-Id: I8670b62ed323698c7764d3039ccd8af052bd1b6f
target_scale plugin: Coding style fixes.
Change-Id: I5a992fe0b0206455bf910a739927f2243b05b89b
Change-Id: I5a992fe0b0206455bf910a739927f2243b05b89b
AMQP plugin: Support sub-second sleep intervals.
Change-Id: I9afcd8d17f1251b0765dfbdae5ed8581b73b15fe
Change-Id: I9afcd8d17f1251b0765dfbdae5ed8581b73b15fe
AMQP plugin: Fix sleeping of "interval_g seconds".
Since "interval_g" was changed to "cdtime_t", the plugin would sleep 2^30 times
as long as intended. D'oh! Thanks to Xavier for reporting this!
Change-Id: I8e9992307a1fdbb2df799a5359eb6695409684df
Since "interval_g" was changed to "cdtime_t", the plugin would sleep 2^30 times
as long as intended. D'oh! Thanks to Xavier for reporting this!
Change-Id: I8e9992307a1fdbb2df799a5359eb6695409684df
Collectd's scale plugin now supports scaling only on specific data sources, yay!
Change-Id: I91dc04fbd0a8e982ce09a766f12d024bdbef634f
Change-Id: I91dc04fbd0a8e982ce09a766f12d024bdbef634f
Merge branch 'collectd-5.0'
Conflicts:
configure.in
Change-Id: Ifffa7df6b6c758650af7d942c26c8bd89568d8ea
Conflicts:
configure.in
Change-Id: Ifffa7df6b6c758650af7d942c26c8bd89568d8ea
Bump version to 5.0.3; Update ChangeLog.
Change-Id: I3c73ac8b3ac73227e20ea32d052f5bea1575e29a
Change-Id: I3c73ac8b3ac73227e20ea32d052f5bea1575e29a
Merge branch 'collectd-4.10' into collectd-5.0
Conflicts:
ChangeLog
version-gen.sh
Change-Id: Id72b28eb1432835ab710d1f551bb886d0638e079
Conflicts:
ChangeLog
version-gen.sh
Change-Id: Id72b28eb1432835ab710d1f551bb886d0638e079
Update ChangeLog.
Change-Id: I41518e6e48c089e79919d1bc65b03744872bcec0
Change-Id: I41518e6e48c089e79919d1bc65b03744872bcec0
exec plugin: Replace tabs with spaces to fix indentation.
Change-Id: I6e623f237c1d79007bd471732476a4e32dafde97
Change-Id: I6e623f237c1d79007bd471732476a4e32dafde97
network plugin: Fixed incorrect collectd warning when configuring network plugin.
Cosmetic only
Change-Id: I4c4c8fe19c23e9aa31b35e61eba31aa686429c10
Signed-off-by: Florian Forster <octo@collectd.org>
Cosmetic only
Change-Id: I4c4c8fe19c23e9aa31b35e61eba31aa686429c10
Signed-off-by: Florian Forster <octo@collectd.org>
exec plugin: incorrectly exited select loop on signal.
Sometimes dead modules won't be started up correctly or running ones
would not generate stats anymore. Problem manifests more often under
load and on multicore hw
Change-Id: Ifb70a74c0cd55fc421b65a1f4332147916eadb70
Signed-off-by: Florian Forster <octo@collectd.org>
Sometimes dead modules won't be started up correctly or running ones
would not generate stats anymore. Problem manifests more often under
load and on multicore hw
Change-Id: Ifb70a74c0cd55fc421b65a1f4332147916eadb70
Signed-off-by: Florian Forster <octo@collectd.org>
configure.in: Use the `--libs_r' option of mysql-config.
Rather than the `--libs' option.
Change-Id: Idd2a3828f4d154f353c44a4b69aa094acbadcabf
Signed-off-by: Florian Forster <octo@collectd.org>
Rather than the `--libs' option.
Change-Id: Idd2a3828f4d154f353c44a4b69aa094acbadcabf
Signed-off-by: Florian Forster <octo@collectd.org>
Merge branch 'ss/graphite'
collectd.conf(5): Improve description of the write_graphite plugin.
Change-Id: Ide28fe5eef021bc18cfd05202b1efefea693350c
Change-Id: Ide28fe5eef021bc18cfd05202b1efefea693350c
write_graphite plugin: Set a (hopefully unique) callback name.
Change-Id: Iab70d4f40a614bc04b70b61868d30721ee9641c1
Change-Id: Iab70d4f40a614bc04b70b61868d30721ee9641c1
write_graphite plugin: Simplify wg_write_messages().
There is no need for special handling of values with one / more data sources.
Change-Id: I849d4a881ed50ad1c7b8cf5c0abd1c5d62fe5258
There is no need for special handling of values with one / more data sources.
Change-Id: I849d4a881ed50ad1c7b8cf5c0abd1c5d62fe5258
write_graphite plugin: Report configuration errors for the EscapeCharacter option.
Change-Id: Ia99e2c8d9c7ced344bb52f4d80957fa9abe3e7db
Change-Id: Ia99e2c8d9c7ced344bb52f4d80957fa9abe3e7db
write_graphite plugin: Print the time as an unsigned int.
Change-Id: I61f4952c8debdf7c80c4e1e4647cf42ecf00f033
Change-Id: I61f4952c8debdf7c80c4e1e4647cf42ecf00f033
write_graphite plugin: Use CR-LF line endings.
Using this line ending in ASCII conversations over the network has been a
convention since the 1970s, let's stick with it.
Change-Id: I5d0640e520a70483ab9256989f89e9e2dcab7643
Using this line ending in ASCII conversations over the network has been a
convention since the 1970s, let's stick with it.
Change-Id: I5d0640e520a70483ab9256989f89e9e2dcab7643
write_graphite plugin: Use swrite() instead of write().
swrite() ensures that the entire buffer is written before the buffer is reset.
Change-Id: I105d42d8ea5b71acd5a5e37b7cc4209045f28d47
swrite() ensures that the entire buffer is written before the buffer is reset.
Change-Id: I105d42d8ea5b71acd5a5e37b7cc4209045f28d47
write_graphite plugin: Decrese buffer size.
The larger the buffer, the longer you need to wait for the data to be written
to Carbon. The new buffer size assumes an MTU of 1500 bytes (Ethernet payload)
and keeps margins for IPv6 and TCP (with timestamps). This should decrease the
number of packets needed (because data is now cleanly aligned to the packet
size) and decrease the overall time spent buffered.
Change-Id: I73021608f1ff0f22f9e73cd62b7fb5ea79421546
The larger the buffer, the longer you need to wait for the data to be written
to Carbon. The new buffer size assumes an MTU of 1500 bytes (Ethernet payload)
and keeps margins for IPv6 and TCP (with timestamps). This should decrease the
number of packets needed (because data is now cleanly aligned to the packet
size) and decrease the overall time spent buffered.
Change-Id: I73021608f1ff0f22f9e73cd62b7fb5ea79421546
src/collectd.conf.in: Rename "write_mongo" to "write_mongodb".
Change-Id: I42fdd3d4a380ab50d0c4e14bc2ed2b09f09bf716
Change-Id: I42fdd3d4a380ab50d0c4e14bc2ed2b09f09bf716
src/collectd.conf.in: Add the write_graphite plugin.
Change-Id: I238d9bd7d2413bdc747f0603cb6e97d777252fcd
Change-Id: I238d9bd7d2413bdc747f0603cb6e97d777252fcd
write_graphite plugin: Implement the "AlwaysAppendDS" option.
Don't append DS name by default, except when there is more than one DS.
The "AlwaysAppendDS" option can be used to force the plugin to always
append the DS.
Change-Id: I0221bef49375e3b5c5de99bb8f5a9cd641b696c3
Don't append DS name by default, except when there is more than one DS.
The "AlwaysAppendDS" option can be used to force the plugin to always
append the DS.
Change-Id: I0221bef49375e3b5c5de99bb8f5a9cd641b696c3
write_graphite plugin: Fix trailing underscores.
This may also fix an off-by-one error when the name is long enough. D'oh!
Change-Id: Ibc5a68f9bc93eed6366d074b55a7aca020bcf990
This may also fix an off-by-one error when the name is long enough. D'oh!
Change-Id: Ibc5a68f9bc93eed6366d074b55a7aca020bcf990
write_graphite plugin: Implement the StoreRates option.
Most of it was already present in the code anyway, so I just added the
appropriate config handling.
Change-Id: I7ce8be2f5b075da690872ec72b3610eae05b3c6c
Most of it was already present in the code anyway, so I just added the
appropriate config handling.
Change-Id: I7ce8be2f5b075da690872ec72b3610eae05b3c6c
pinba, postgres and routeros plugins: Use the cf_util_get_service() function.
PostgreSQL plugin: Also abolish the config_set_s() function in favor of
cf_util_get_string().
Change-Id: Ib3d903c48a30fd6a8417e8ee999368eda15d69d7
PostgreSQL plugin: Also abolish the config_set_s() function in favor of
cf_util_get_string().
Change-Id: Ib3d903c48a30fd6a8417e8ee999368eda15d69d7
write_graphite plugin: Use cf_util_get_service() for the "Port" option.
Change-Id: If3f0b32f86a40dbaa22837dc15f51429239af03a
Change-Id: If3f0b32f86a40dbaa22837dc15f51429239af03a
Merge branch 'master' into ss/graphite
src/configfile.[ch]: Add cf_util_get_service() for getting service names.
Change-Id: I310c0d076a82927958fba04dd9eedbc706742dce
Change-Id: I310c0d076a82927958fba04dd9eedbc706742dce
collectd.conf(5): Add stub for the write_graphite plugin.
Change-Id: I129127ff7216b8a23f9cb638df49192f5b16e45f
Change-Id: I129127ff7216b8a23f9cb638df49192f5b16e45f
Bump version to 4.10.6; Update ChangeLog.
Change-Id: I95bfb6e742ba7ad9e2b9c89dc990cd4bf573dbfa
Change-Id: I95bfb6e742ba7ad9e2b9c89dc990cd4bf573dbfa
Build system: Remove superfluous C(PP)FLAG.
Change-Id: Ic2f665869f863b1e0dca9b5ccde2803715386a3c
Change-Id: Ic2f665869f863b1e0dca9b5ccde2803715386a3c
Build system: Use pkg-config to configure libiptc.
This hopefully fixes Goobuntu Bug #375733.
Change-Id: I0a4215351ce836fb62418cbd40bee27fd695d9da
This hopefully fixes Goobuntu Bug #375733.
Change-Id: I0a4215351ce836fb62418cbd40bee27fd695d9da
Merge branch 'collectd-4.10' into collectd-5.0
write_graphite plugin: Fix locking.
wg_send_buffer() is called from wg_flush_nolock(). When calling
wg_flush_nolock(), the thread has to hold cb->send_lock. Locking it again
will fail, but this condition is not checked for. Then the lock is
released twice which may result in concurrency issues.
Change-Id: Ie3062d50e6545adeb95b3a1938837c1f26835a56
wg_send_buffer() is called from wg_flush_nolock(). When calling
wg_flush_nolock(), the thread has to hold cb->send_lock. Locking it again
will fail, but this condition is not checked for. Then the lock is
released twice which may result in concurrency issues.
Change-Id: Ie3062d50e6545adeb95b3a1938837c1f26835a56
write_graphite plugin: Remove the unused "server" field.
Change-Id: I6ae59f4a2f6be69f891bbfa16afddc5ec9be9bad
Change-Id: I6ae59f4a2f6be69f891bbfa16afddc5ec9be9bad
write_graphite plugin: Update the copyright header.
It's based on the write_http plugin, so these copyrights apply as well.
Change-Id: I9def5e5b7e3cf6081f820df07187f47dd9d4b92b
It's based on the write_http plugin, so these copyrights apply as well.
Change-Id: I9def5e5b7e3cf6081f820df07187f47dd9d4b92b
write_graphite plugin: Escape *all* the things!
Dots and spaces can appear anywhere, e.g. spaces in hostnames and dots in type
instances. Escape them all to avoid unintended special treatment by Carbon /
Graphite.
Change-Id: Iccc330934bcd765a237a1fed42d0cdb4bf3aa2b1
Dots and spaces can appear anywhere, e.g. spaces in hostnames and dots in type
instances. Escape them all to avoid unintended special treatment by Carbon /
Graphite.
Change-Id: Iccc330934bcd765a237a1fed42d0cdb4bf3aa2b1
Merge pull request #20 from pyr/ss/graphite
Remove spaces and dots from the identifier.
Remove spaces and dots from the identifier.
write_graphite plugin: Remove duplicate includes.
Change-Id: I8745634aee66edde18f5720a6b4882d51e19ee12
Change-Id: I8745634aee66edde18f5720a6b4882d51e19ee12
Build system: write_graphite doesn't depend on cURL.
Change-Id: Ide4fccdef64fc37434c87e662484930ab69b9f1b
Change-Id: Ide4fccdef64fc37434c87e662484930ab69b9f1b
README: Add the write_graphite plugin.
Change-Id: I265711b7b76d2244264c1df4158aed43cfcbb31b
Change-Id: I265711b7b76d2244264c1df4158aed43cfcbb31b
AUTHORS: Add Scott Sanders.
Change-Id: I633b1f64a00db7192e64e88d5960683404e0602e
Change-Id: I633b1f64a00db7192e64e88d5960683404e0602e
bring back prefix/postfix handling. simplify swap_chars.
prefix and postfix need to be set to an empty string when
they are null since they are used in format strings.
swap_chars return value is never used and could never be
negative, switch to a void prototype instead.
prefix and postfix need to be set to an empty string when
they are null since they are used in format strings.
swap_chars return value is never used and could never be
negative, switch to a void prototype instead.
irq plugin: Coding style fixes.
Change-Id: Ibed2873a6862bf42ae701c4907805956ee4e07fa
Change-Id: Ibed2873a6862bf42ae701c4907805956ee4e07fa
Merge pull request #19 from bostjan/master
Pull request for fixes in irq plugin
Pull request for fixes in irq plugin
reimport my changes
Changes in irq plugin:
- fixes errors described here: http://mailman.verplant.org/pipermail/collectd/2011-July/004638.html
- refactored parsing code in order to make it a bit more intuitive
- added a few additional comments
- fixes errors described here: http://mailman.verplant.org/pipermail/collectd/2011-July/004638.html
- refactored parsing code in order to make it a bit more intuitive
- added a few additional comments
version-gen.sh: Switch to bash due to bashisms.
Change-Id: I8480afad2d157382fb7e5ff35785e97066c8553c
Change-Id: I8480afad2d157382fb7e5ff35785e97066c8553c
Build system: Add the write_graphite plugin.
Change-Id: I333cb950bb68e47366bf9dd17eca181dde25847d
Change-Id: I333cb950bb68e47366bf9dd17eca181dde25847d
Merge branch 'import/ss/graphite' into ss/graphite
write_graphite plugin: Don't allocate {Pre,Post}fix if unspecified.
Just leave them at NULL and catch this condition in wg_format_name().
Just leave them at NULL and catch this condition in wg_format_name().
write_graphite plugin: Improve Hostname / Port handling.
Use getaddrinfo(3) for hostname lookup -- this also adds IPv6 compatibility.
Switch the internal names to node / service, to follow the terminology used by
getaddrinfo(3). Use cf_util_get_string() rather than implementing our own.
Allow service names in addition to port numbers.
Use getaddrinfo(3) for hostname lookup -- this also adds IPv6 compatibility.
Switch the internal names to node / service, to follow the terminology used by
getaddrinfo(3). Use cf_util_get_string() rather than implementing our own.
Allow service names in addition to port numbers.
Merge remote-tracking branch 'snickl/snickl/1-modbus-fix-pkgconfig'
Merge pull request #18 from ChrisLundquist/cl/mongodb
free our bson record after the write as not to leak memory
free our bson record after the write as not to leak memory
free our bson record after the write as not to leak memory
Revert "interface plugin: Fix for bogus interfaces under Solaris."
This results in problems on aggregated interfaces, amongst other things.
I guess Solaris users will need to use the "IgnoreSelected" option to
get rid of "bogus" interfaces.
This reverts commit e7a75874a24c1bf19931d5b4b423a0daa7f9be6b.
This results in problems on aggregated interfaces, amongst other things.
I guess Solaris users will need to use the "IgnoreSelected" option to
get rid of "bogus" interfaces.
This reverts commit e7a75874a24c1bf19931d5b4b423a0daa7f9be6b.
network plugin: Document the standard buffer size with more detail.
Change-Id: I48e61fc2613ca50c477794167f180e3b4f4fc673
Change-Id: I48e61fc2613ca50c477794167f180e3b4f4fc673
Change modbus to libmodbus to fix pkgconfig
Merge branch 'collectd-5.0'
Merge branch 'collectd-4.10' into collectd-5.0
Merge remote-tracking branch 'tokkee/sh/collectd-5.0' into collectd-5.0
Minor doc fixes for the Python plugin.
Change-Id: I233d0ae4ec035c74811ef33aa119573066c9a3f6
Change-Id: I233d0ae4ec035c74811ef33aa119573066c9a3f6