Up to [cvs.NetBSD.org] / pkgsrc / sysutils / collectd
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
update master site and homepage
Fix installation of collectd plugins Fix installation of collectd plugins by installing using libtool directly instead of using the Makefile target.
collectd*: update to 5.12.0 Provided by Edgar Fuß. Changes: collectd: Build fix: duplicate switch case has been removed. Thanks to Sebastian Schmidt. #3536 collectd: Updated specfile for EL8. Thanks to Fabien Wernli. #3346 types.db(5): Documentation of metric definitions has been improved. Thanks to @octo. #3458 collection3: Some small titles has been improved from {type_instance} to {instance}. Thanks to Christian Tacke. #3476 AMQP1 plugin: New options to limit send queue length has been added. Thanks to Ryan McCabe. #3432 AMQP plugin: Updated option to allow multiple hosts to support failover. Thanks to Märt Bakhoff. #3410 capabilities plugin: Conditionalized return type for microhttpd callback functions. Thanks to José M. Guisado. #3512 Ceph plugin: An incorrect close on file descriptor 0 has been fixed. Thanks to @octo. #3459 CPU plugin: Implementation for NetBSD has been added. Thanks to Håvard Eidnes, Edgar Fuß. #3496 Curl Jolokia plugin: New plugin has been added to integrate jolokia to fetch jmx counters via HTTP/json. Thanks to Wilfried Goesgens. #2470 cURL plugin: Memory leak has been fixed. Thanks to Barbara Kaczorowska. #3547 Disk plugin: Provided an udev rule with ID_SERIAL based attribute so disk and partition data don't get mixed incorrectly in udev-based disk naming. Thanks to Maciej S. Szmigiero. #3441 DPDK Telemetry plugin: Build issues has been fixed. Thanks to Fabrice Fontaine. #3439 Entropy plugin: Implementation for NetBSD has been added. Thanks to Håvard Eidnes, Edgar Fuß. #3497 InfiniBand plugin: New plugin to collect metrics about IB ports has been added. Thanks to Luke Yeager. #3494 InfiniBand plugin: The build has been fixed by linking with libignorelist. Thanks to Luke Yeager. #3516 Intel PMU plugin: Check for libjevents version has been improved. Thanks to Kamil Wiatrowski. #3407 Intel PMU plugin: The possible crash on plugin init has been fixed. Thanks to Kamil Wiatrowski. #3480 IntelRDT plugin: A build issue of the plugin's unit test has been fixed. Thanks to @octo. #3566 IntelRDT plugin: NaN values in csv output has been fixed. Thanks to Michał Aleksiński, Paweł Tomaszewski. #3503 IRQ plugin: Implementation for NetBSD has been added. Thanks to Håvard Eidnes, Edgar Fuß. #3498 Mdevents plugin: New plugin to generate notifications about events in RAID arrays. Thanks to Krzysztof Kazimierczak, Maciej Fijałkowskii, Michał Kobyliński. #2841 Memory plugin: Implementation for NetBSD has been added. Thanks to Håvard Eidnes, Edgar Fuß. #3499 MQTT plugin: A problem with stuck after 20 (qos=1) messages has been fixed. Thanks to Viulian. #2730 MQTT plugin: Resubscribe after a reconnect. Thanks to Maciej S. Szmigiero. #3452 MySQL plugin: Compatibility with MariaDB >=10.5 has been fixed. Thanks to Alexander Meshcheryakov. #3548 MySQL plugin: Reporting of the fields Slave_IO_Running and Slave_SQL_Running has been added. Thanks to Thomas Mieslinger. #3463 Netlink plugin: VFs statistics and link info has been added. Thanks to Kamil Wiatrowski. #3487 Netstat UDP plugin: New plugin ((currently NetBSD-only) to report UDP summary statistics has been aded. Thanks to Håvard Eidnes, Edgar Fuß. #3502 Network plugin: Initialization of sockent_t has been simplified. Thanks to @octo, Dagobert Michelsen. #3543 NFS plugin: NetBSD implementation has been fixed, undefined suppress_warning variable has been removed. Thanks to Edgar Fuß. #3495 OpenVPN plugin: Parsing of empty fields has been fixed. Thanks to @rpv-tomsk. #3425 Processes plugin: Implementation for NetBSD has been added. Thanks to Håvard Eidnes, Edgar Fuß. #3500 Processes plugin: Size of reading buffer for /proc/stat has been increased. Thanks to Mhumpula. #3479 Python plugin: Error-handling code of PyType_Ready has been added. Thanks to Jia Zhouyang. #3402 Sensors plugin: The documentation has been improved. Thanks to @octo. #3443 Slurm plugin: Compatibility with Slurm versions >= 20.02 has been provided. Thanks to Pablo Llopis. #3518 SMART plugin: SMART plugin has been extended with NVMe device functionality. Thanks to Bartłomiej Kotłowski, Paweł Żak, Sławomir Strehlau. #3510 SNMP Agent plugin: A strncat() truncation warning has been fixed. Thanks to @octo. #3564 SNMP plugin: Count option was added allowing to gather the number of table entries (matching given criteria) rather than their values. Thanks to Edgar Fuß. #3504 Swap plugin: Implementation for NetBSD has been added. Thanks to Håvard Eidnes, Edgar Fuß. #3501 UBI plugin: Data source type has been fixed from counter to gauge. Thanks to Florian Eckert. #3486 Varnish plugin: Added varnish 6 support. Thanks to Charly Koza, Ismael Puerto. #3445 Varnish plugin: Target in category for varnish 6 has been added. Thanks to Charly Koza. #3446 Write HTTP plugin: libcurl default HTTP response has been moved to a buffer instead of stdout. Thanks to Duane Waddle. #3263 Write Prometheus plugin: fix for libmicrohttpd api change. Thanks to Bernd Zeimetz. #3514 Write Sensu plugin: IncludeSource option has been added. Thanks to Märt Bakhoff. #3398 Zookeeper plugin: Missing 3.5 mntr fields has been added. Thanks to Théophane Charbonnier. #3450 Zookeeper plugin: Missing mntr fields has been fixed. Thanks to Théophane Charbonnier. #3449
collectd: update to 5.11.0 Provided by Edgar Fuß via pkgsrc-wip. Changes not found, but more plugins added.
collectd: disable werror
*: reset MAINTAINER for fhajny on his request
collectd: change gtar to bsdtar (according to pkgsrc doc)
collectd: extract using GNU tar pkgsrc changes: --------------- * Use XXXtar to avoid the following complaint: tar: File extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes.
all: migrate homepages from http to https pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
collectd*: help netbsd/aarch64 builders by force-failing the htonll configure check. Currently builds are failing due to missing a declaration for it.
*: update email for fhajny
sysutils/collectd: add extra "used by" line.
Update sysutils/*collectd* to 5.8.0. Temporarily disable the processes plugin for NetBSD, until the patch is rewritten to build again. Upstream changes since 5.7.2: - collectd: The core daemon is now completely licensed under the MIT license. - collectd: Added daemon option to avoid making BaseDir. - collectd: Global variables have been moved to their own module to make porting collectd easier. - collectd as well as Apache, memcached, OpenLDAP, Perl, RouterOS, SNMP, Tail-CSV plugins: Free userdata for "plugin_register_complex_read()". - Collectd client library: Added parsing and server code. - Build system: Dependency on libltdl has been removed, support for libtool 1 has been dropped. - Build system: The build system has been switched to non-recursive make. - APC UPS plugin: The plugin's configuration is now optional. Without a "<Plugin />" block reasonable defaults will be used. - Chrony plugin: Several issues found when working with a stratum-1 server have been fixed. - Ceph plugin: Support for the Ceph version "Luminous" has been added. - CPU plugin : Linux-specific "guest" states have been added. - cURL plugin, cURL-JSON, cURL-XML, DBI, FileCount, memcachec, Oracle, PostgreSQL, Table, Tail, Tail CSV plugins: The ability to configure the "plugin" field of generated metrics has been added. - cURL-JSON plugin: Parsing of arrays has been fixed. - DPDKEvents plugin: This new plugin reports link status and keep alive events. - DPDKStat plugin: The plugin has been refactored to make DPDK related utility functions reusable. - DPDKStat plugin: The "LogLevel" and "RteDriverLibPath" config options have been added. - Email plugin as well as Exec and Unixsock plugins: Use "_SC_GETPW_R_SIZE_MAX". - FileCount plugin: Custom values for reported plugin, type and type instance. - GenericJMX plugin: Support for "AtomicInteger" and "AtomicLong" has been added. - gRPC plugin: Support for meta data has been added. - IPC plugin: Fixed failed compilation on AIX. - Intel PMU plugin: This new plugin collects CPU performance metrics using Intel's Performance Monitoring Unit (PMU). Scaling information added to metadata. - Intel RDT plugin: Support for collectd's logging infrastructure has been added. PQoS monitoring groups are being reset on start-up to fix potential previous unclean shutdowns. - IPMI plugin: Support for System Event Log (SEL) has been added. - IPMI plugin: Support for remote IPMI controllers has been added. - LVM plugin: A check for the "CAP_SYS_ADMIN" capability has been added. This will give users an informative warning when the process is not running with the required privileges for this plugin. - mcelog plugin: This new plugin subscribes to Machine Check Exceptions (MCE) and dispatches notifications. Metadata reset. - MQTT plugin: Add support for TLS in "Subscriber" blocks. - memcached plugin: Persistent connections have been implemented. Fix hit ratio reporting, add connections rate report. - memcached plugin: The type of the "listen_disabled" metric has been changed to "total_events". - Netlink plugin: The dropped packets metric has been added. - NFS plugin: Support for NFS 4.2 metrics has been added. - NFS plugin: Config options to ignore specified NFS versions have been added. - NUT plugin: The "ConnectTimeout", "ForceSSL", "VerifyPeer" and "CAPath" options have been added. - OpenLDAP plugin: A segfault after a connection failure has been fixed. - Openvpn plugin: Added support for status files from latest OpenVPN-2.4 and possible from future versions. - OVS Events plugin: This new plugin reports link state changes from Open vSwitch (OVS). - OVS Stats plugin: This new plugin reports bridge / interface statistics from Open vSwitch (OVS). - Perl plugin: Bugfix, added check of proper interpreter initialization. - PostgreSQL plugin: The plugin now sets the "application_name" parameter when connecting to the database. - Processes plugin: The I/O operations reported for selected processes has been fixed. The metric "ps_disk_octets" has been renamed to "io_octets" because it actually contains the number of I/O operation by the process, not just disk related I/O. Same for "io_ops" (previously "ps_disk_ops"). The new metric "disk_octets" has been added and is reporting disk I/O only. Add option to collect the count of active memory maps for Linux processes. The "CollectFileDescriptor" and "CollectContextSwitch" options have been added. - Processes and TCPConns plugins: The OpenBSD implementation has been changed to use "kvm_openfiles" with "KVM_NO_FILES". - Python plugin: Extend Notification class to include metadata. - Python plugin: The "CollectdException" class has been added. This allows to throw an exception without a stack trace being logged. - Sensors plugin: Support for (electrical) current has been added. - SNMP plugin: Error handling has been improved: a potential double-free is now avoided (potentially leaking memory) and handling of non-failing subtrees has been fixed. - SNMP plugin: The "Timeout" and "Retries" config options have been added. - SNMP Agent plugin: This new plugin implements an SNMP AgentX subagent that receives and handles queries from SNMP master agent and returns configured metrics. - Synproxy plugin: This new plugin provides statistics for Linux SYNPROXY. - Tail plugin: Allow the calculation of several distributions in one "tail" instance through a "bucket" type. - Turbostat plugin: Import "msr-index.h" header from Linux and better support for mutliple packages. - Uptime plugin: Changed implementation to read from "/proc/uptime" instead of "/proc/stat". Update for Linux and AIX, uptime is read directly using a system call. Update for BSD and Solaris, uptime is calculated by subtracting boot time from current time. - UUID plugin: Support for libhal has been removed. - Varnish plugin: Extended the varnish plugin with varnish-plus counters. Fixed invalid data source type. - virt plugin: The plugin has been updated to use "virConnectListAllDomains()". - virt plugin: Support for domain tags has been added. - virt plugin: Connection handling has been improved. - virt plugin: Many metrics have been added, including disk, hypervisor CPU usage, performance monitoring events, domain state, CPU pinning (affinity), file system, and job statistics. - Write Graphite plugin: Additional tests have been added. - Write HTTP plugin: The "Attribute" and "TTL" options for the KairosDB format have been added. Implementation of "Prefix" option. - Write MongoDB plugin: Memory leaks have been fixed. - Write Prometheus plugin: Label values are now properly escaped. - Write Redis plugin: Add "max_set_duration" to set duration for value. - Write Riemann plugin: Export times with microsecond resolution. - Write TSDB plugin: The options "ResolveInterval" and "ResolveJitter" have been added to control DNS lookup behavior. This prevents DNS flooding in case TSDB is not available. - ZFS ARC plugin: Header lines are now ignored in the Linux implementation.
Update sysutils/collectd to 5.7.2. - Build system: The Notify Email plugin is no longer linked with indirect dependencies. - collectd: A race condition when calculating a metric's rate has been fixed. - AMQP, Exec, UnixSock, Write Kafka plugins: Parsing of the PUTVAL command with multiple values has been fixed. - AMQP plugin: The "ExchangeType" option is now also valid for publishers. - BIND plugin: Fix parsing of the sample time provided by BIND. Previously, the time was assumed to be in the local timezone when in fact it was in UTC. - BIND plugin: Memory leaks have been fixed. - cURL-JSON plugin: Handling of arrays has been fixed. - DPDKStat plugin: Error handling during initialization has been improved. - DPDKStat plugin: Handling of a number of metrics has been improved, for example "rx_q0bytes". - Intel RDT plugin: Configuration handling has been changed to be more graceful. - Log Logstash plugin: If writing the log entry fails, print it to "STDERR" instead. - LogFile plugin: If writing to the file fails, print log messages on "STDERR" instead. - memcachec, Tail plugins: A resource leak in the matching infrastructure has been fixed. - MQTT plugin: Invalid symbols in topic names are now replaced and a resource leak has been fixed. - Network plugin: A potential endless-loop has been fixed. This can be triggered remotely by sending a signed network packet to a server which is not set up to check signatures. - Perl plugin: A potential double-free has been fixed. - Processes plugin: A compilation error on AIX has been fixed. - SMART plugin: A check for the "CAP_SYS_RAWIO" capability has been added. - Write Graphite plugin: Error handling in the case that calculating a metric's rate fails has been improved. Previously, the raw counter values were sent to Graphite. - Write Prometheus plugin: An incorrect use of "realloc(3)" has been fixed.
Update sysutils/collectd to 5.7.1. 2017-01-23, Version 5.7.1 - collectd: Handling of boolean configuration options has been unified. Thanks to Sebastian Harl. #2083, #2098 - collectd: Reporting of internal statistics has been fixed. Thanks to Florian Forster. #2108 - collectd, various plugins: Bugs and issues reported by scan-build and coverity-scan have been fixed. Thanks to Ruben Kerkhof and Florian Forster. - Build system: Parallel build have been fixed. Thanks to Ruben Kerkhof. #2110 - DPDKStat plugin: Portability issues and a double-close bug have been fixed. Thanks to Ruben Kerkhof and Marc Fournier. - Intel RDT plugin: A check for the libpqos library version has been added. Thanks to Serhiy Pshyk. - NetApp plugin: Compilation problems have been corrected. Thanks to Florian Forster. #2120 - Write Prometheus plugin: A memory leak has been fixed. Thanks to Ruben Kerkhof. 2016-12-12, Version 5.7.0 - Documentation: The Turbostat plugin section has been improved. Thanks to Florian Forster - Documentation: The semantics of the "TypesDB" option have been improved. Thanks to Florian Forster. - collectd: A generic interface for parsing the text protocol has been added. Thanks to Sebastian Harl. #1749 - collectd: Threads now get named, making them easier to track using tools such as top, ps, etc. Thanks to Manuel Luis Sanmartín Rozada and Marc Fournier. #547 - AMQP plugin, Write Graphite plugin, Write Kafka plugin: The new "[Graphite]PreserveSeparator" option allows retaining the default dot separator rather than escaping it. Thanks to Florian Forster. #419 - Battery plugin: A StateFS backend for gathering statistics has been added. Thanks to Rinigus. #1795 - CPU plugin: CPU aggregation on AIX was fixed. Thanks to Chao Yang. #1957 - Collectd::Unixsock: Fractional seconds support has been made more robust. Thanks to Matthias Bethke. #2052 - DPDKStat plugin: This new plugin collects DPDK interface statistics. Thanks to Maryam Tahhan, Harry van Haaren, Taras Chornyi and Kim Jones. #1649 - gRPC plugin: The "DispatchValues" option has been renamed to "PutValues". Thanks to Florian Forster. - HDDTemp plugin: The 32 devices limit has been removed. Thanks to Benjamin Gilbert. #631 - Hugepages plugin: This new plugin reports the number of used and free hugepages on Linux. Thanks to Jaroslav Safka, Maryam Tahhan, Kim Jones and Florian Forster. #1799 - Intel RDT plugin: This new plugin collects statistics exposed by Intel's Resource Director Technology . Thanks to SerhiyX. #1970 - memcached plugin: The new "Address" option allows connecting to a different server than specified by the "Host" option. Thanks to Pavel Rochnyack. #1975 - nginx plugin: Support for reporting failed connections has been added. Thanks to Pavel Rochnyack. #1609 - Perl plugin: Significant internal reworking has been made. The new "RegisterLegacyFlush" option has been added. Thanks to Pavel Rochnyack. #1731 - PostgreSQL plugin: Timestamps are now RFC 3339-formatted local time. Thanks to Igor Peshansky and Dave Cunningham. #1918 - Processes plugin: Internal performance improvements have been made. Thanks to Pavel Rochnyack. #1980, #1981 - RRDCacheD plugin: The plugin now tries to reconnect upon failed operations. Thanks to Sebastian Harl. #1959 - SpamAssassin: The plugin can now run in Perl's "tainted mode" ("-T"). Thanks to Akos Vandra. #1962 - Tail plugin: Support for calculating latency distribution of matching values has been added. Thanks to Pavel Rochnyack and Florian Forster. #1700 - Tail plugin: The new "GaugePersist" option has been added. Thanks to Florian Forster. #2015 - Target:Set, Target:Replace, Match:RegEx: MetaData support has been added . Thanks to Igor Peshansky. #1922, #1923, #1930 - turbostat plugin: The new "LogicalCoreNames" option allows switching to per-core naming rather than per-CPU. Thanks to Brock Johnson. #2056 - virt plugin: The new "BlockDeviceFormat" and "BlockDeviceFormatBasename" options help controlling the names reported for block-device metrics. Thanks to Deyan Chepishev. #2004 - Write Graphite plugin: A new "DropDuplicateFields" option has been added. Thanks to Michael Leinartas. #1915 - Write Kafka plugin: The "Key Random" setting has been reintroduced. Thanks to Florian Forster. #1977 - Write Log plugin: Support for formatting output in JSON has been added, using the new "Format" configuration option. Thanks to Igor Peshansky. #1924 - Write Prometheus plugin: This new plugin publishes values using an embedded HTTP server, in a format compatible with Prometheus' collectd_exporter. Thanks to Florian Forster. #1967
Update sysutils/collectd to 5.6.2. Most of the NetBSD specific patches were re-applied due to code syntax changes. Upstream changes in 5.6.2: - collectd: A compile error on AIX has been fixed: "MSG_DONTWAIT" is not available on AIX. - collectd: The capability checking has been rewritten to be more portable. - collectd.conf(5): Various typos have been fixed. - collectd-tg: Incorrect usage of "nanosleep()" has been fixed which caused the tool to sleep (almost) indefinitely. - Build system: Detection of the Java environment has been made deterministic to allow for reproducible builds. - Build system: Detection of the Lua headers has been improved. - APC UPS plugin: Unavailable metrics are now skipped instead of reported as 0 (zero). - Modbus plugin: Build issues on FreeBSD have been fixed. - OpenVPN plugin: Gracefully handle empty configurations. - PowerDNS plugin: The "recursor command" has been fixed so PowerDNS can correctly parse all requested fields. - Write Graphite and AMQP plugins: A bug that could lead to a missing null-termination has been fixed. - Write HTTP plugin: A logic error when checking the correctness of the data set has been fixed. - Write Kafka plugin: The "Key Random" config option has been fixed. - Write Kafka plugin: Support for librdkafka 0.9.0 has been added. - Write Riemann plugin: Build issues on Solaris have been fixed. - ZFS ARC plugin: A duplicate metric has been removed.
Update sysutils/collectd and subpackages to 5.6.1. - Simplify patching somewhat by calling automake - Temporarily disable the processes plugin patch for NetBSD, until its code is amended for collectd code changes. Version 5.6.1 - Build system: Unnecessary linking of the Write Graphite plugin with libyajl has been removed. - collectd: A bug in the FlushInterval option that caused a segmentation fault in the Write HTTP plugin has been fixed. - Apache plugin: A syntax error has been fixed. - cURL-JSON plugin: A segmentation fault that occurred when handling JSON with unexpected structure has been fixed. - PostgreSQL plugin: Handling of NULL values in the query_plans and query_plans_by_table queries has been fixed. - RRDCacheD plugin: Reconnection behavior has been added. - VServer plugin: Use of a deprecated API (readdir_r()) has been fixed. - Write Graphite plugin: Make default values configurable at compile time again. - Write HTTP plugin: A bug has been fixed that lead to flush callbacks being registered twice. Version 5.6.0 - Build system: An option to to avoid building the DF plugin against XFS has been added. - Build system: Autoconf >=2.60, a C99-capable compiler and pkg-config are now required. - Build system: Building with -Werror is now optional. - Build system: Many compilation issues on non-Linux platforms have been fixed, leading to wider plugin support. - Build system: The configuration summary now also ends up in config.log. - collectd: All command-line options now override global options from the config file. - collectd: A number of unit tests for commonly used functions have been added. - collectd: Plugins start up and read timeouts are now logged. - collectd: Support for a timeout has been added to FLUSH callbacks. - collectd: The -T command line switch now reports more errors. - collectd: The max size of value list elements (DATA_MAX_NAME_LEN) has been doubled and is now configurable at build time. - Set target: The MetaData option has been added. - AMQP plugin, Write_HTTP plugin, Write_Kafka plugin: Support for libyajl < 2 has been added. - APC UPS plugin: Parsing of end markers has been fixed. - APC UPS plugin: The PersistentConnection option has been added. - ceph plugin, DNS plugin, Exec plugin, IPTables plugin, Ping plugin, turbostat plugin: When running unprivileged, these plugins will now warn about insuffiscient permissions or capabilities(7). - Chrony plugin: This new plugin collects NTP data from the chrony NTP server. - cpusleep plugin: This new plugin measures time spent by CPU in deep sleep mode. - CPU plugin: The ReportNumCpu option has been added. - cURL plugin, cURL-JSON plugin, cURL-XML plugin: The new Statistics reports various per-HTTP connection timers. - DBI plugin: The Interval option has been added to Database blocks. - Disk plugin: Support for FreeBSD has been added. - Empty Counter match: Support for derives has been implemented. - GenericJMX plugin: Support for TabularData and the PluginName option have been added. - GPS plugin: This new plugin reports the number of sattelites seen by and precision of a GPS receiver. - gRPC plugin: This new client and server plugin allows sending and receiving metrics using the gRPC protocol. Comparable to the UnixSock plugin, but using TCP and TLS. - Interface plugin: Reporting dropped packets has been added. - Interface plugin: The ReportInactive has been added, letting users skip inactive network interfaces. - Interface plugin: The new, Solaris-only UniqueName option has been added. - Lua plugin: This new language binding allows writing plugins using the Lua programming language. - Memory plugin: Reporting of ARC memory on Solaris has been added. - MQTT plugin: This new plugin sends metrics to and/or receives metrics from an MQTT broker. - MySQL plugin: Connection to the database server can now be done over SSL. - MySQL plugin: Monitoring slow queries has been added. - MySQL plugin: mysql_bpool_pages-flushed has been renamed to mysql_bpool_counters-pages_flushed because the value is cumulative. - MySQL plugin: Support for Galera statistics has been added. - MySQL plugin: Support for InnoDB metrics was improved. - MySQL plugin: The mysql_sort type has been split into 3 different types. - Network plugin: Decryption error logging has been improved. - Notify Nagios plugin: This new plugin sends notifications to Nagios as a passive check result. - NTPd plugin: The plugin now detects if the ntp daemon reports nanoseconds instead of microseconds. - OpenLDAP plugin: Several connection-related improvements have been made. - OpenLDAP plugin: Support for "simple authentication" has been added. - Ping plugin: The Size option has been added, allowing the ICMP data payload size to be configured. - PostgreSQL plugin, DBI plugin, Oracle plugin: The new PluginInstanceFrom option has been added. - PowerDNS plugin: The recursor metrics have been updated to 3.7.3 and missing rr types have been added. - Processes plugin: Counting of context switches was added for Linux. - Processes plugin: Improve reliability of thread counts on Linux. - Python plugin: Minimal Python version requirement has been bumped to 2.6. - Redis plugin: Several additional metrics are now collected. - Sensors plugin: The UseLabels option has been added. - SMART plugin: The new IgnoreSleepMode option has been added. - SMART plugin: The new UseSerial option allows identifying devices in a stable way. - SNMP plugin: The IpAddress can now be used for instances. - StatsD plugin: Latency calculation histogram is now able to shrink automatically to optimal size. - StatsD plugin: The CounterSum option has been added. - UUID plugin: The plugin now also looks in in smbios system table and /sys/class/dmi. - virt plugin: The PluginInstanceFormat option has been added. - Write Graphite plugin: The ReconnectInterval option has been added. - Write HTTP plugin: A KairosDB formatter has been added. - Write HTTP plugin: Notifications are now handled by this plugin. - Write HTTP plugin: The LogHttpError option has been added. - Write HTTP plugin: The new Headers option allows setting custom HTTP headers in outgoing requests. - Write Kafka plugin: Key handling has been made more comprehensive and reliable. - Write Redis plugin: The Database, MaxSetSize, Prefix and StoreRates options have been added. - Write Riemann plugin: The new BatchFlushTimeout and Timeout option have been added. - Write Riemann plugin: This plugin now requires the riemann-c-client library, version 1.6.0+. This adds support for submitting values to Riemann over TLS. - Write TSDB plugin, Write Sensu plugin, Write Riemann plugin, Write Graphite plugin, Write TSDB plugin: TCP keepalive is now enabled, helping graceful recovery from unclean network disconnections. - XenCPU plugin: This new plugin collects XEN Hypervisor CPU stats. - ZFS ARC plugin: Several new statistics have been added and a couple of obsolete ones removed. - Zone plugin: This new plugin reads per-zone CPU usage on Solaris. Version 5.5.2 - collectd: A division by zero has been fixed in the plugin_dispatch_multivalue() function. - collectd: The address of the Free Software Foundation has been fixed in GPL license headers. - Build system: Detection and handling of librrd 1.6 and later has been fixed. - Apache plugin: A warning about a possible misconfiguration has been added. - cURL, cURL-JSON and cURL-XML plugins: A memory leak when allocating more memory fails has been fixed. - DF plugin: A build issue on DragonFlyBSD has been fixed. - Ethstat plugin: Code to strip leading whitespace from device names. This works around an issue in the VMXNet3 driver. - Exec plugin: A problem in the error handling of an fdopen() failure has been fixed. - Modbus plugin: The debug output has been disabled by default. It is now only enabled when building with --enable-debug. - Network plugin: A check for the initialization of secure memory has been added. Previously, failure to initialize this memory was ignored. - Network plugin: A heap overflow has been fixed in the server code. This issue can be triggered remotely and is potentially exploitable. - Perl plugin: Init callbacks have been changed to run essentially single-threaded to avoid race conditions by init functions which create additional threads. - Processes plugin: A compilation error on systems without regex.h has been fixed. - Processes plugin: A memory leak on Solaris has been fixed. - Processes plugin: A warning about too long process names has been added. - Redis plugin: A memory leak in an error handling code path has been fixed. - Redis plugin: The data source type of the expired_keys metric has been corrected to DERIVE. - SMART plugin: A build dependency on libudev has been added. - StatsD plugin: A deadlock on plugin shutdown has been fixed. - Write HTTP plugin: Freeing of memory holding HTTP headers during shutdown has been fixed. - Write Sensu plugin: A segfault when the Tag was unset has been fixed. - ZFS ARC plugin: The cache_operation-stolen metric has been removed for FreeBSD 10.2 and later.
Add 'used by sysutils/collectd-riemann/Makefile' to satisfy pkglint.
Don't use -Wno-error flags on Darwin, its version of clang does not support them.
Update sysutils/collectd to 5.5.0. Changes since 5.4.2: * Build system: Ability to make out-of-tree builds has been fixed. * Build system, Disk and Users plugins: Detection and use of libstatgrab >=0.90 has been added. * Build system, Memory, CPU, TCPConns and Processes plugins: Numerous fixes related to OpenBSD support have been added. * Build system: Plugins now only export "module_register()". * Build system: Various cleanups and improvements have been done. * collectd: Numerous internal changes and improvements to the daemon and the plugin API have been make. * collectd: Numerous spelling mistakes have been corrected in comments and documentation and several error messages have been improved. * collectd: Rules/Targets can now be appended to existing Filter Chains. * collectd: Failing Filter Chains destinations will now log the list of available write targets. * collectd: Support for process signaling and management by upstart and systemd has been implemented for the Linux platform. * collectd: The "CollectInternalStats" option has been added. * collectd: The daemon source code and dependencies have moved to the "src/daemon/" directory. * collectd: The new "MaxReadInterval" option allows to cap the exponential retry interval of plugins read errors. * collectd: The "-P" command-line option now has precedence over the "PIDFile" option. * collection.cgi: Various data-source related adjustments have been made. * libcollectdclient: Now propagates errors when signing / encrypting network packets. * Configuration: Support for unquoted IPv6 addresses has been added. * Documentation: Various improvements have been done. * Examples: the sample C plugin has been updated to the current plugin API. * Licensing: The following components have been relicensed to the MIT license: the Apple Sensors, Ascent, DBI, E-Mail, Entropy, GenericJMX, gmond, LogFile, nginx, Notify Desktop, NTPd, NUT, olsrd, Perl, Ping, PostgreSQL, Protocols, RouterOS, RRDCacheD, SNMP, StatsD, SysLog, Table, Tail, UnixSock, vmem, VServer, Wireless, Write Riemann and XMMS plugins, the core collectd daemon, the collectdmon, collectd-nagios and collectd-tg utilities, all the Targets and Matches, liboconfig, most of the "utils_*" files and the plugin API. * Tests: A test suite has been added. * Threshold: The hysteresis calculation has been made more reliable. * Threshold: Various fixes and improvements have been made. * AMQP plugin: The "ConnectionRetryDelay" option has been added, allowing to delay reconnection. * AMQP plugin: The "QueueDurable" and "QueueAutoDelete" options have been added, giving control over queue creation and deletion. * Apache, Ascent, BIND, cURL, cURL-JSON, cURL-XML, nginx and Write HTTP plugins: Customizing the "User-Agent" field is now possible at compile-time. * Apache, Ascent, BIND, cURL, cURL-JSON, cURL-XML, nginx plugins: The connection will be reset if it hasn't completed within the configured "Interval". The new "Timeout" option gives control over this behavior. * Apache, Ascent, cURL, cURL-JSON, cURL-XML, nginx, Write HTTP plugins: Allow usernames and passwords to contain colons if built against libcurl >= 7.19.1. * Apache plugin: The "SSLCiphers" option gives control over the encryption algorithms to use with TLS connections. * Barometer plugin: This new plugin reads sensor data from various Freescale and Bosch digital barometers. * Battery plugin: Reporting values as percentages and reporting degraded batteries has been added. * Battery plugin: Support for reading values from sysfs on Linux has been added. * Battery plugin: The value for current is no longer supplied unless the battery provides this information. * BIND plugin: Bind's XML v3 API is now supported. * Ceph plugin: This new plugin collects statistics from the Ceph distributed storage system. * ConnTrack plugin: Support for reporting values as percentages as well as legacy conntrack files in "/proc" has been added. * CPU plugin: The plugin is now able to report values as percentages and aggregate values per-state and per-CPU. * cURL-JSON plugin: Extracting values from complex JSON structures has been enhanced. * cURL-JSON plugin: Intervals can now be configured on a per-URL basis. * cURL-JSON, cURL-XML, Write HTTP plugins: These plugins now also follow HTTP redirects. * cURL, cURL-JSON, cURL-XML plugins: HTTP Digest authentication has been implemented. * DBI, Oracle, PostgreSQL plugins: A "MetadataFrom" parameter has been added which allows to set metadata from database columns. * DBI plugin: Querying several databases in parallel is now possible. * Disk plugin: On the Linux platform, disk names can now get looked up in udev with the "UdevNameAttr" option. * Disk plugin: This plugin now collects several additional I/O-related metrics on the Linux platform. * DRBD plugin: This new plugin reads Linux's Distributed Replicated Block Device (DRBD) statistics. * Exec, UnixSock plugins: The "PUTNOTIF" command now allows to set metadata on notifications. * fhcount plugin: This new plugin reports the number of used file handles. * GenericJMX plugin: A Class Loader for "JMXConnectorFactory" has been added, allowing the plugin to work with JBOSS > 7. * IPC plugin: This new plugin collects information related to shared memory. * Java plugin: Now uses the hostname defined in the configuration file. * Load plugin: The plugin is now able to report values as percentages. * Log Logstash plugin: This new plugin writes collectd logs and events as Logstash JSON formatted events. * LVM plugin: The plugin collects thin pool data volumes size, and no longer reports virtual volumes. * memcached plugin: "listen_disabled_num" are now also reported. * Memory plugin: Slab memory reporting on the Linux platform has been added. * Memory plugin: The plugin is now able to report values as percentages. * Modbus plugin: Selecting between holding and input registers is now possible. * Modbus plugin: Support for accessing devices through an RS-485 serial port has been added. * Multimeter plugin: This plugin isn't built by default on the AIX platform anymore. * MySQL and PostgreSQL plugins: Passing "127.0.0.1" as a host will now result in the global Hostname being used in metric names. * MySQL plugin: InnoDB, Select and Sort statistics collection has been added. * MySQL plugin: The "Alias" and "ConnectTimeout" options have been added. * Netlink plugin: Support for 64bit netlink counters has been added. * Network plugin: The "ReconnectInterval" configuration option has been added. * NFS plugin: Support for NFSv4.0 has been implemented. * OneWire plugin: Support for more temperature-providing sensor families has been added. * OneWire plugin: Support for full OWFS path and more device families has been implemented. * OpenLDAP plugin: This new plugin reads monitoring information from OpenLDAP's "cn=Monitor" subtree. * OpenVPN plugin: Support for OpenVPN 2.3.0 has been implemented. * OpenVZ plugin: Various improvements have been made, making the plugin report values like the other collectd plugins do. * Perl plugin: A new "listval_filter" method has been added, various internal cleanups and improvements have been made and a test suite has been added. * PostgreSQL plugin: The new "ExpireDelay" option allows skipping older values pending write when the database slows down. * PowerDNS plugin: The plugin was updated for stats from pdns 3.4.3. * Processes plugin: A memory-usage related optimization for low-profile systems has been added. * Python plugin: Support for Python3 has been improved, "ModulePath" is now prepended to "sys.path", and the "get_dataset()" function has been added to the Python API. * Redis and Write_Redis plugins: The support library has been switched from credis to hiredis. * Redis plugin: Custom commands can now be used to fetch values stored in Redis. * Redis plugin: Support for passwords up to 512 characters long has been added. * Sensors plugin: Support for lm_sensors' power sensors has been added. * SMART plugin: This new plugin collects SMART statistics from disk drives. * SNMP plugin: A blacklist/whitelist feature can now be used to filter which OIDs to collect. * SNMP plugin: SNMPv3 authentication and encryption support has been implemented. * SNMP plugin: Two error messages have been disambiguated. * Swap plugin: The plugin is now able to report values as percentages. * Swap plugin: The plugin no longer fails on Linux systems where "SwapCached" isn't exposed by the kernel. * Tail plugin: "GaugeInc" and "GaugeAdd" options have been implemented. * Tail plugin: Intervals can now be configured on a per-File basis. * TCPConns plugin: The "AllPortsSummary" option, allowing to summarize all connections, has been added. * TCPConns plugin: Three metrics were renamed on the AIX platform, for the sake of consistency. * Turbostat plugin: This new plugin reads CPU frequency and C-state residency on modern Intel turbo-capable processors. * UnixSock plugin: The "GETTHRESHOLD" command has been re-added. * Varnish plugin: Varnish 4 support has been added, as well as as monitoring metrics only available in Varnish 4. * virt plugin: Guests memory usage is now also collected. * virt plugin: It is now possible to chose between using guests' name or UUID as plugin_instance. * virt plugin: The libvirt plugin has been renamed to virt. * Write Graphite plugin: When the connection to graphite fails, reconnection attempts are now limited to once per second. * Write HTTP plugin: Multi-instance support of this plugin has been improved. The "<URL "url">" block has been deprecated in favor of "<Node "identifier">". * Write HTTP plugin: Several TLS-related configuration options have been added. * Write HTTP plugin: The "LowSpeedLimit" and "Timeout" options allow to reset slow/stalled network connections. * Write HTTP plugin: The size of the payload posted to the HTTP server can now be controlled with the "BufferSize" option. * Write Kafka plugin: This new plugin sends data to Apache Kafka, a distributed messaging queue. ciomaire, Vincent Bernat, Marc Fournier. #670, #694, #794, #853, #014 * Write Log plugin: This new plugin dispatches collected values to the configured log destination(s). * Write Riemann plugin: Extra meta strings are now added as attributes in notifications. * Write Riemann plugin: Notification message are now sent to the Riemann server via the description field. * Write Riemann plugin: Support for custom attributes has been added. * Write Riemann plugin: Support had been implemented for sending events to Riemann in batches (when using TCP), and is enabled by default. * Write Riemann plugin: The "EventServicePrefix" option has been added, which adds a prefix to event service names. * Write Riemann plugin: Threshold checks can now be passed down to the Riemann server. * Write Sensu plugin: This new plugin submits values to Sensu, a stream processing and monitoring system. * Write TSDB plugin: This new plugin sends data to OpenTSDB, a scalable time series database. * ZFS ARC plugin: Support for ZFS-on-Linux has been added. * Zookeeper plugin: This new plugin reads data from the Apache Zookeeper "MNTR" command.
Don't fail build of p5-collectd for tautologic pointer->bool conversions in perl headers.
Remove non-default perl and python options in sysutils/collectd. Use separate p5-collectd and py-collectd packages instead for same purpose.
Update collectd to 5.4.2. - Build system: Numerous fixes. - collectd: A use-after-free has been fixed in the parse_value() function. - collectd: Fix carriage return sign in types_list - collectd: Fix programming error in {{GitFile|src/configfile.c}} - collectd: An off-by-one error has been fixed in the strstripnewline() function. - collectd: Use the complain mechanism to report filter chain write failures. - collectd: Spelling and grammar of error messages have been fixed. - collectdctl: Fixed buffering issues which caused trouble on AIX and Solaris. - Documentation: Details and example about multi-instance filterchain targets have been added. - Documentation: The CollectStatistics option of the RRDCacheD plugin has been documented. - Documentation: The Write Redis plugin has been documented. - Documentation: The GraphiteSeparateInstances and GraphiteAlwaysAppendDS options of the AMQP plugin have been documented. - Documentation: Documentation of the AutoLoadPlugin option has been improved. - Aggregation plugin: utils_vl_lookup: A race when creating user objects has been fixed. - CPU plugin: Temperature code for Mac OS X has been removed. - cURL, cURL-JSON, cURL-XML and Write HTTP plugins: Call curl_global_init() in the plugins' init() callback. - cURL and memcachec plugins: Fix calculation of gauge, average, minimum and maximum. Previously, they were calculated from the start of the daemon, which is not the documented behavior. - cURL-JSON plugin: A bug, which triggered when two URLs with a long common prefix were configured, was fixed. - DBI plugin: Compatibility with new versions of libdbi has been restored. - Exec, UnixSock plugins: Fix parsing of the time option of the PUTNOTIF command. - IPMI plugin: A conflict with the Java plugin over the SIGUSR2 signal has been fixed. - Java plugin: Conversion from Java's time representation to collectd's representation has been fixed. - Java plugin: Make sure cjni_thread_detach() is called on all paths. - LogFile and SysLog plugins: Avoid total silence in case of a misconfiguration. - Network plugin: Support for recent versions of gcrypt has been added. - Network plugin: Robustness of the client connecting behavior has been improved. - Python plugin: Don't create empty meta_data_t objects. - Python plugin: Fix Py list length check in cpy_build_meta(). - Python plugin: The interval member was fixed to export seconds as a double. - RRDtool and RRDCacheD plugins: A memory leak when creating RRD files has been fixed. - SNMP plugin: Fix a memory leak. - Statsd plugin: Support for samplerates in timer metrics was added. - Swap plugin: Fix behavior under OpenVZ by making cached optional. - Threshold plugin: Population of the time field in notifications has been added. - libvirt plugin: Only gather stats for running domains. - LVM plugin: An issue with Volume Groups (VGs) without Logical Volumes (LVs) has been fixed. - Write Graphite plugin: Escape characters not supported by Graphite. - Write HTTP plugin: Make callback names context-dependent. - Write Redis plugin: A formatting bug, which resulted in totally unusable numbers being transmitted to Redis, was fixed. - Write Riemann plugin: Receive acknowledge message when using TCP.
SunOS still needs SOLARIS2 defined for ip_compat.h to expose some structs.
Requires C99, remove SunOS flags which conflict with _XOPEN_SOURCE usage in the source.
Don't fail build for tautological compares.
Loosen up the dependency on the main package. Fixes revbump'ed cases.
Import collectd-5.4.1 as sysutils/collectd (+ plugins), based on wip/collectd5. collectd is a daemon which collects system performance statistics periodically and provides mechanisms to store the values in a variety of ways, for example in RRD-files.