Subject: CVS commit: pkgsrc/sysutils
From: Filip Hajny
Date: 2017-11-21 16:18:23
Message id: 20171121151823.85C1FFB40@cvs.NetBSD.org

Log Message:
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.

Files:
RevisionActionfile
1.16modifypkgsrc/sysutils/collectd/Makefile.common
1.8modifypkgsrc/sysutils/collectd/PLIST
1.40modifypkgsrc/sysutils/collectd/distinfo
1.10modifypkgsrc/sysutils/collectd/options.mk
1.10modifypkgsrc/sysutils/collectd-curl/Makefile
1.2modifypkgsrc/sysutils/collectd/patches/patch-Makefile.am
1.11modifypkgsrc/sysutils/collectd/patches/patch-configure.ac
1.3modifypkgsrc/sysutils/collectd/patches/patch-src_disk.c
1.10modifypkgsrc/sysutils/collectd/patches/patch-src_entropy.c
1.5modifypkgsrc/sysutils/collectd/patches/patch-src_irq.c
1.4modifypkgsrc/sysutils/collectd/patches/patch-src_libcollectclient_network__buffer.c
1.2modifypkgsrc/sysutils/collectd/patches/patch-src_lua.c
1.5modifypkgsrc/sysutils/collectd/patches/patch-src_memory.c
1.5modifypkgsrc/sysutils/collectd/patches/patch-src_swap.c
1.7modifypkgsrc/sysutils/collectd/patches/patch-src_tcpconns.c
1.7modifypkgsrc/sysutils/p5-collectd/Makefile
1.1addpkgsrc/sysutils/collectd/patches/patch-src_daemon_collectd.c
1.1addpkgsrc/sysutils/collectd/patches/patch-src_daemon_common.h
1.3removepkgsrc/sysutils/collectd/patches/patch-src_Makefile.am
1.1removepkgsrc/sysutils/collectd/patches/patch-src_daemon_Makefile.am