summaryrefslogtreecommitdiff
path: root/sysutils/collectd
AgeCommit message (Collapse)AuthorFilesLines
2019-10-12collectd*: help netbsd/aarch64 builders by force-failing the htonllmaya1-1/+3
configure check. Currently builds are failing due to missing a declaration for it.
2019-08-11Bump PKGREVISIONs for perl 5.30.0wiz1-2/+2
2018-12-15*: update email for fhajnywiz1-2/+2
2018-08-22Recursive bump for perl5-5.28.0wiz1-2/+2
2018-01-04collectd: Fix write_prometheus dependencies.jperkin2-4/+13
2017-12-08sysutils/collectd: add extra "used by" line.jperkin1-1/+2
2017-11-21Adapt and re-enable the process plugin for NetBSD.he4-13/+25
Bump PKGREVISION.
2017-11-21Update sysutils/*collectd* to 5.8.0.fhajny18-133/+148
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.
2017-07-26Fix distinfo.alnsn1-2/+2
2017-07-26Make it possible to register more than one reader/writer in collectd-lua.alnsn2-2/+50
Not bumping PKGREVISION because the patch affects only one day old sysutils/collectd-lua package. It's an overkill to bump several collectd packages.
2017-06-23Correct build failure of collectd on NetBSD 8.99.1kamil2-8/+10
Address <sys/user.h> removal fallout.
2017-06-14Update sysutils/collectd to 5.7.2.fhajny4-51/+8
- 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.
2017-04-06Backport fix for CVE-2017-7401. Bump PKGREVISION.fhajny3-2/+45
2017-02-14Try to deal with API changes for the NetBSD port.joerg3-17/+20
2017-01-25Update sysutils/collectd to 5.7.1.fhajny4-36/+29
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
2017-01-19Reinstate the "processes" plugin for NetBSD by initializing thehe6-11/+40
two per-process context switch counters to -1, indicating no support. Our kinfo_lwp structure doesn't contain the context switch counters, which in the kernel is part of the lwp structure. Also make this build on netbsd-6 and on ports which don't yet have nearbyint() by simply defining it as rint() on NetBSD. Bump PKGREVISION.
2016-12-24Fix ctype.h use.joerg2-5/+5
2016-12-07Update sysutils/collectd to 5.6.2.fhajny14-730/+737
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.
2016-11-20Fix ctype.h usejoerg2-1/+20
2016-10-13Update sysutils/collectd and subpackages to 5.6.1.fhajny19-1436/+150
- 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.
2016-07-09Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.wiz1-2/+2
2016-06-08Remove the stability entity, it has no meaning outside of an official context.jperkin1-1/+0
2016-06-08Change the service_bundle name to "export" to reduce diffs between thejperkin1-1/+1
original manifest.xml file and the output from "svccfg export".
2016-02-26Use OPSYSVARS.jperkin1-25/+16
2016-02-03Plug a memory leak in the irq NetBSD plugin, and avoid use of ahe3-7/+8
non-initialized stack variable in the same (code borrowed from NetBSD's vmstat, leak was of my own doing). Bump PKGREVISION.
2016-02-03When testing for kern.cp_time, really do that and not kern.cp_times (typo).he4-10/+10
Bump PKGREVISION.
2015-12-12Note to self: test before committing. Leave out close(fd).he2-6/+7
Ride on the coattails of previous PKGREVISION bump.
2015-12-12Improve the entropy plugin on NetBSD to keep /dev/urandom open betweenhe3-18/+32
polls, instead of re-opening and closing it for each round, since that will needlessly reduce the kernel's entropy estimate. Bump PKGREVISION.
2015-11-04Add SHA512 digests for distfiles for sysutils categoryagc1-1/+2
Problems found with existing digests: Package memconf distfile memconf-2.16/memconf.gz b6f4b736cac388dddc5070670351cf7262aba048 [recorded] 95748686a5ad8144232f4d4abc9bf052721a196f [calculated] Problems found locating distfiles: Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9 Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-10-28Add 'used by sysutils/collectd-riemann/Makefile' to satisfy pkglint.jperkin1-1/+2
2015-09-17Regenerate autoconf-related files / diffs, so that the buildhe4-524/+63
should not complain about missing auto-tools.
2015-09-12Add a plugin for NetBSD which submits the equivalent of the UDPhe9-84/+1095
and UDP6 parts of "netstat -s" output. Useful for monitoring e.g. packet discards due to full UDP socket buffers. Bump PKGREVISION.
2015-09-07Don't use -Wno-error flags on Darwin, its version of clang does not supportjperkin1-2/+3
them.
2015-09-01Re-work the entropy patch to put the error section up front, andhe2-42/+50
the Linux code above the NetBSD code. No code change, except ensure to forward-declare the common functions in all cases.
2015-09-01For consistency, rename HAVE_STRUCT_KINFO_PROC_NETBSD tohe5-700/+86
HAVE_STRUCT_KINFO_PROC2_NETBSD since that's the variant we're actually using on NetBSD. Should result in the same code, so no revision bump.
2015-08-26Improve the cpu plugin for NetBSD, should get rid of warningshe6-24/+999
logged on hosts with hw.ncpu > 1. PKGREVISION bumped.
2015-08-25Fix a bug (of my own making) in NetBSD's process plugin which couldhe3-6/+6
lead to null pointer de-reference and crash of collectd. Bump PKGREVISION.
2015-08-18Fix typo preventing build on NetBSD > 6.99.19.he2-4/+4
2015-08-18Another round of update to collectd:he13-46/+460
* Add support for the "irq" plugin on NetBSD. * Declare BUILD_DEFS+= VARBASE to silence pkglint. * Tweak Makefile.am instead; commit regenerated Makefile.in with automake. * Adjust the patch for the df plugin so it builds both in newer (> 6.99.19) and older NetBSD (e.g. 6.1.5) * Adjust the entropy plugin to use <paths.h> and _PATH_URANDOM to silence pkglint. PKGREVISION bumped to 5.
2015-08-16One more build fix for more modern NetBSD than netbsd-6...he2-4/+5
2015-08-16Do an explicit include of <uvm/uvm_extern.h> so this has a hopehe2-7/+18
of building on newer NetBSD. Build fix, so no PKGREVISION bump.
2015-08-14Add a port of the processes plugin to NetBSD.he6-14/+266
Bump PKGREVISION.
2015-08-14Include sys/rndio.h if it's available to be able to compile the entropyhe5-23/+84
plugin on newer NetBSD releases (>= 7.99.9, by the looks of it). No PKGREVISION bump since this is a configure+build fix.
2015-08-11Try to fix the build on SunOS, report_bytes isn't used there.he3-11/+13
PKGREVISION++.
2015-08-11Port some of the plugins to support NetBSD:he13-10/+846
* entropy * memory * swap * disk by shamelessly copying code from vmstat/iostat/rndctl etc. Add comments to one patch missing one. Bump PKGREVISION.
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-1/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2015-06-10Update sysutils/collectd to 5.5.0.fhajny9-171/+54
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.
2015-04-27Don't fail build of p5-collectd for tautologic pointer->bool conversionsjoerg1-3/+3
in perl headers.
2015-04-14Remove non-default perl and python options in sysutils/collectd. Usefhajny5-22/+46
separate p5-collectd and py-collectd packages instead for same purpose.
2015-04-14Remove stale patch file.fhajny1-29/+0