rpm specfile: enable zfs_arc by default
zfs_arc: copyright & attribution
zfs_arc: style consistency
zfs_arc: pass reference in llist instead of value
This allows the actual values from getting stored, not the pointer
addresses.
This allows the actual values from getting stored, not the pointer
addresses.
onewire: add other temperature-providing sensor families
zfs_arc: support for zfsonlinux
fix alocation schemes so the plugin actually works
- specify type llist_t kstat_t, so we can easily pass in our parsed data
- read the file into one chunk of memory so we have the values available
- count the number of lines to allocate the long pointer array
- parse the buffer line by line.
fix alocation schemes so the plugin actually works
- specify type llist_t kstat_t, so we can easily pass in our parsed data
- read the file into one chunk of memory so we have the values available
- count the number of lines to allocate the long pointer array
- parse the buffer line by line.
Add a write_kafka output with similar properties to the amqp one.
document new options
make threshold checking optional
Merge branch 'master' into feature-riemann-threshold
reuse main avl tree
Store the avl tree within collectd core.
We need this if we want modules to share access to the threshold
avl tree.
We need this if we want modules to share access to the threshold
avl tree.
write_http: expose more TLS options
* adds support for client certificate authentication
* allows setting CAPath
* allows forcing a specific SSL/TLS version
* adds support for client certificate authentication
* allows setting CAPath
* allows forcing a specific SSL/TLS version
patch required to build oracle plugin, collectd-5.4.0 (#653)
Merge pull request #619 from Crapworks/master
increased buffer size
increased buffer size
correct typo in error message
logfile: avoid total silence in case of a misconfiguration
Basically the same patch that was applied to syslog.c in 84c38056
Basically the same patch that was applied to syslog.c in 84c38056
manpage: document 2 missing options to amqp plugin section
document 2 new options added to amqp plugin
amqp: new Queue{Durable,AutoDelete} options are subscribe-only options
remove quotes in example config to make all statements consistent
mention new options to cpu plugin in example config
add missing backticks which broke the build
write_riemann: coding style consistency
Make the style in line with 50d1b34d6 (from master) and avoid later
merge conflict.
Make the style in line with 50d1b34d6 (from master) and avoid later
merge conflict.
add brackets to the list of characters graphite chokes on
(cherry-pick of 109cc80a to avoid a merge conflict later on)
(cherry-pick of 109cc80a to avoid a merge conflict later on)
Statsd: avoid doing a division by zero when calculating the average if we didn't get any values.
don't assume pkg-config is in PATH
Configparser: when we alocate an empty list, we also need to reset the counter; else we will trip over this later.
This fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750440
This fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750440
Merge pull request #636 from dothebart/config_debug_nonsilent
Syslog: don't go all silent on 'debug' with production binary
Syslog: don't go all silent on 'debug' with production binary
Add support for durable AMQP queues
The collectd amqp plugin allows setting messages as persistent but is hardcoded to create or use transient queues that are set to auto_delete. This commit adds support for QueueDurable and QueueAutoDelete boolean values in the config file and changes the queue creation as appropriate.
If the values are not set in the config file, QueueDurable defaults to false and QueueAutoDelete defaults to true.
Tested with RabbitMQ 3.3.1
The collectd amqp plugin allows setting messages as persistent but is hardcoded to create or use transient queues that are set to auto_delete. This commit adds support for QueueDurable and QueueAutoDelete boolean values in the config file and changes the queue creation as appropriate.
If the values are not set in the config file, QueueDurable defaults to false and QueueAutoDelete defaults to true.
Tested with RabbitMQ 3.3.1
network: set ttl before opening server sockets
If TimeToLive is defined in collectd.conf after Server options, the
net_config_ttl value is updated after network_config_add_server and
the desired ttl is not used.
If TimeToLive is defined in collectd.conf after Server options, the
net_config_ttl value is updated after network_config_add_server and
the desired ttl is not used.
Warn if ttl is out of bounds
FLUSH cmd: convert timeout (double) to cdtime_t
as the previous call to plugin_flush
as the previous call to plugin_flush
cmd PUTNOTIF time option: handle double values.
Plugin threshold: time is not set in missing notifications.
Plugin java: fix notification time conversion to cdtime_t.
Fix the conversion of time option in PUTNOTIF
from timestamp to cdtime_t
from timestamp to cdtime_t
[METRICS-390] Make sure HostTags is initialized if not configured
CPU Percentage: after realloc the pointer becomes invalid; need to work on new pointer.
fixes https://gist.github.com/toni-moreno/a2f80021535f87202de7
fixes https://gist.github.com/toni-moreno/a2f80021535f87202de7
Syslog: if we can't find the loglevel specified by the configuration string default to 'info' and warn about the unknown configuration option. no way to make syslog totaly silent anymore.
[METRICS-390] Fix string handling for TSDB prefix and tags
[METRICS-390] Add tag writing from metadata using TSDB target_set patches
[METRICS-383] Add HostTags which adds tags for all metrics from this writer
Uncrustify write_tsdb
configure.ac: Check for newest liblvm2app symbol needed by lvm
lvm_lv_get_property() was added in 2.02.75.
lvm_lv_get_property() was added in 2.02.75.
lvm: Avoid lvm_lv_get_attr()
It is only available in liblvm2app >= 2.02.99, which is not in Debian
Wheezy.
It is only available in liblvm2app >= 2.02.99, which is not in Debian
Wheezy.
Remove _num suffix from listen_disabled_num collected value
Submit listen_disabled_num in memcached.c
This is a counter which increments when the connection limit to
memcached is reached and a socket listen is disabled.
This is a counter which increments when the connection limit to
memcached is reached and a socket listen is disabled.
Fix link to memcached protocol
increased buffer size
Fix a few typos
write_http plugin: Remove custom string and boolean config handlers.
Add DeleteSocket option in synopsis of manpage
Signed-off-by: Florian Forster <octo@collectd.org>
Signed-off-by: Florian Forster <octo@collectd.org>
collection.cgi: Use -l 0 for df_complex graphs.
collection.cgi: Added support for df_complex types.
collection.cgi: Fixed apache data-sources.
examples/myplugin: Updated to the current plugin API.
[METRICS-383] write_tsdb plugin
lvm: Fix segfault if a VG contains no LVs
lvm: Report used/free space for thin pools and thick snapshots
Thin pools and traditional snapshot volumes fill up as I/O is performed
to their associated thin volumes or origins. When they run out of free
space, things break, so it's useful to monitor their disk utilization.
Add new plugin instances for thin pool data LVs, thin pool metadata LVs,
and thick snapshot LVs, each with "used" and "free" type instances.
Thin pools and traditional snapshot volumes fill up as I/O is performed
to their associated thin volumes or origins. When they run out of free
space, things break, so it's useful to monitor their disk utilization.
Add new plugin instances for thin pool data LVs, thin pool metadata LVs,
and thick snapshot LVs, each with "used" and "free" type instances.
lvm: Ignore virtual volumes
The sum of the sizes reported by a volume group should equal the size
of the volume group. Virtual volumes do not directly correspond to
allocated storage (and, in fact, may be larger than the entire volume
group), so must be ignored.
The sum of the sizes reported by a volume group should equal the size
of the volume group. Virtual volumes do not directly correspond to
allocated storage (and, in fact, may be larger than the entire volume
group), so must be ignored.
lvm: Change unused return value to void
configure.ac: Include liblvm2app in configuration summary
add brackets to the list of characters graphite chokes on
Graphite deals poorly with metric names containing quotes.
Sanitize graphite metrics with our own escaping function,
better suited for this use-case than the one in `utils_parse_option`
Sanitize graphite metrics with our own escaping function,
better suited for this use-case than the one in `utils_parse_option`
curl_json: also allow long callback names.
This is basically the same as 2f392819, which got applied to the
curl_xml plugin a few months ago.
Fixes #582.
This is basically the same as 2f392819, which got applied to the
curl_xml plugin a few months ago.
Fixes #582.
Fix check for htonll in configure.ac
fix for #477: Notification time gone wrong
Sub-second time handling was added in collectd 5.0.0. This adds support
for this to the target_notification plugin, which got missed out at the
time.
Sub-second time handling was added in collectd 5.0.0. This adds support
for this to the target_notification plugin, which got missed out at the
time.
Fix getargs declaration to compile in AIX7
AIX doesn't have MSG_DONTWAIT, define as MSG_NONBLOCK
Merge pull request #569 from manuelluis/mlsr/MSG_DONTWAIT-aix
AIX doesn't have MSG_DONTWAIT, define as MSG_NONBLOCK
AIX doesn't have MSG_DONTWAIT, define as MSG_NONBLOCK
Merge pull request #546 from manuelluis/mlsr/tcpconns-aix
Fix tcp state names in AIX to be like others.
Fix tcp state names in AIX to be like others.
Updated Color to match DataSources and DSName for single-series graphs.
Fix missed change from int to double for interval
indent wh_init() to be consistent with the rest of the file
Call curl_global_init() in _init of plugins using curl
Need to call curl_global_init() or curl_easy_init() during init
for plugins when we're still running single threaded. This
updates the remaining ones
Need to call curl_global_init() or curl_easy_init() during init
for plugins when we're still running single threaded. This
updates the remaining ones
Merge pull request #446 from bugsduggan/feature/tail_plugin_interval_per_file
Allow Interval per File block for tail plugin
Allow Interval per File block for tail plugin
thresholds: Fix calculation of hysteresis
The old code would never emit a notification when the value changed between the
WARNING and FAILURE; the reason was that each branch in the switch statement
only checked the "old" thresholds valid for the previously encountered state.
That is wrong and pretty dangerous, as there will be no notification when a
values progresses slowly from OK to WARN to FAIL.
Fixes #578.
The old code would never emit a notification when the value changed between the
WARNING and FAILURE; the reason was that each branch in the switch statement
only checked the "old" thresholds valid for the previously encountered state.
That is wrong and pretty dangerous, as there will be no notification when a
values progresses slowly from OK to WARN to FAIL.
Fixes #578.
thresholds: Log the current value of a DS value when generating an OKAY notification
Coding style: fix indents
link iptables plugin against flags from pkg-config
This solves issue #326 for ubuntu versions >= 13.10
This solves issue #326 for ubuntu versions >= 13.10
Merge pull request #575 from amiron/riemann_notification_message
write_riemann: send notification message
write_riemann: send notification message
typo in plugin descr header
add documentation for #516
Merge pull request #516 from pyr/feature-normalized-cpu
Add ReportByCpu and ValuesPercentage for cpu plugin
Add ReportByCpu and ValuesPercentage for cpu plugin
write_riemann: send notification message to riemann via description field
AIX doesn't have MSG_DONTWAIT, define as MSG_NONBLOCK
indents
HTTP Digest support for curl plugins
write_riemann plugin: Receive acknowledge message when using TCP.
Not receiving an acknowledge message when communicating with riemann over TCP
will cause the riemann instance to eventually hang for extended periods of time
because of resource exhaustion.
Took the time to reaorganize the riemann_send function to simplify locking.
Not receiving an acknowledge message when communicating with riemann over TCP
will cause the riemann instance to eventually hang for extended periods of time
because of resource exhaustion.
Took the time to reaorganize the riemann_send function to simplify locking.
lvm: Do not segfault when there are no VGs
Collect drbd statistics on linux
memory plugin: fix submit multivalue (fill vl.type)
Make sure that "PIDFile" option cannot be set when command-line option "-P" was used. (Fixes #553)
The "PIDFile" value from command-line option "-P", which should take
precedence over any "PIDFile" value from configuration files, could be
overwritten if a configuration file contained the "PIDFile" option.
We introduced a new global variable "pidfile_from_cli" which will be set
to 1 when the command-line option "-P" was detected and the
"global_option_set" function will only set the "PIDFile" option if
"pidfile_from_cli" is 0.
The "PIDFile" value from command-line option "-P", which should take
precedence over any "PIDFile" value from configuration files, could be
overwritten if a configuration file contained the "PIDFile" option.
We introduced a new global variable "pidfile_from_cli" which will be set
to 1 when the command-line option "-P" was detected and the
"global_option_set" function will only set the "PIDFile" option if
"pidfile_from_cli" is 0.
zfs_arc: support for zfsonlinux
The plugin is structured for Solaris & FreeBSD's get_kstat_value() &
sysctlbyname() functions, which return a single metric based on its
name. ZFS-on-Linux publishes all the stats together in a file in /proc,
which is quite a different approach.
So the idea is to simulate the Solaris/FreeBSD way of doing by using
llist_search() on a linked-list containing all the key/values from the
/proc file. This prevents having to parse it over and over again for
each metric we request.
The plugin is structured for Solaris & FreeBSD's get_kstat_value() &
sysctlbyname() functions, which return a single metric based on its
name. ZFS-on-Linux publishes all the stats together in a file in /proc,
which is quite a different approach.
So the idea is to simulate the Solaris/FreeBSD way of doing by using
llist_search() on a linked-list containing all the key/values from the
/proc file. This prevents having to parse it over and over again for
each metric we request.
disk: Add udev-based device renaming on Linux
On systems with large collections of allocated disk resources, the
kernel provided names can be difficult to use to logically group or
compare collected values. To grant users the ability to assign custom
instance names for disk devices, collectd can query for a specified udev
attribute. If the attribute is present, its value is subsituted for the
kernel name when submitting the data points.
On systems with large collections of allocated disk resources, the
kernel provided names can be difficult to use to logically group or
compare collected values. To grant users the ability to assign custom
instance names for disk devices, collectd can query for a specified udev
attribute. If the attribute is present, its value is subsituted for the
kernel name when submitting the data points.
Fix tcp state names to be like others.
configure: Fixed check for libsigrok and AM_PATH_GLIB_2_0.
Please free strings *after* printing them ;-)
Signed-off-by: Florian Forster <octo@collectd.org>
Signed-off-by: Florian Forster <octo@collectd.org>
redis allows passwords up to 512 characters long