head 1.3; access; symbols pkgsrc-2024Q1:1.3.0.28 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.26 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.24 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.22 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.20 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.18 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.16 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.14 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.12 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.10 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.8 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.6 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.4 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.2 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.2.0.44 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.40 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.20 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.42 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.38 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.36 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.34 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.32 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.30 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.28 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.26 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.24 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.22 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.18 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.16 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.14 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.12 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.10 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.8 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.6 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.4 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.2 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.1.0.10 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.8 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.6 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.4 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.2 pkgsrc-2014Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2020.10.24.22.39.45; author wiz; state Exp; branches; next 1.2; commitid OlNFGaulsciQXctC; 1.2 date 2015.06.10.20.05.26; author fhajny; state Exp; branches; next 1.1; commitid cCNI3sqkmz05dVoy; 1.1 date 2014.02.17.11.21.55; author fhajny; state Exp; branches; next ; commitid DWWhqXo7jtwLFrpx; desc @@ 1.3 log @collectd: update to 5.11.0 Provided by Edgar Fuß via pkgsrc-wip. Changes not found, but more plugins added. @ text @$NetBSD: patch-src_collectd.conf.in,v 1.2 2015/06/10 20:05:26 fhajny Exp $ Fix default dirs. --- src/collectd.conf.in.orig 2020-03-19 09:52:56.000000000 +0100 +++ src/collectd.conf.in 2020-07-06 19:18:19.842344185 +0200 @@@@ -12,7 +12,7 @@@@ #Hostname "localhost" #FQDNLookup true -#BaseDir "@@localstatedir@@/lib/@@PACKAGE_NAME@@" +#BaseDir "@@localstatedir@@/db/@@PACKAGE_NAME@@" #PIDFile "@@localstatedir@@/run/@@PACKAGE_NAME@@.pid" #PluginDir "@@libdir@@/@@PACKAGE_NAME@@" #TypesDB "@@prefix@@/share/@@PACKAGE_NAME@@/types.db" @@@@ -389,16 +389,16 @@@@ # LongRunAvgLatency false # ConvertSpecialMetricTypes true # -# SocketPath "/var/run/ceph/ceph-osd.0.asok" +# SocketPath "@@localstatedir@@/run/ceph/ceph-osd.0.asok" # # -# SocketPath "/var/run/ceph/ceph-osd.1.asok" +# SocketPath "@@localstatedir@@/run/ceph/ceph-osd.1.asok" # # -# SocketPath "/var/run/ceph/ceph-mon.ceph1.asok" +# SocketPath "@@localstatedir@@/run/ceph/ceph-mon.ceph1.asok" # # -# SocketPath "/var/run/ceph/ceph-mds.ceph1.asok" +# SocketPath "@@localstatedir@@/run/ceph/ceph-mds.ceph1.asok" # # @@@@ -427,7 +427,7 @@@@ # # # -# DataDir "@@localstatedir@@/lib/@@PACKAGE_NAME@@/csv" +# DataDir "@@localstatedir@@/db/@@PACKAGE_NAME@@/csv" # StoreRates false # @@@@ -1029,7 +1029,7 @@@@ # # Alias "squeeze" # Host "localhost" -# Socket "/var/run/mysql/mysqld.sock" +# Socket "@@localstatedir@@/run/mysql/mysqld.sock" # SlaveStats true # SlaveNotifications true # @@@@ -1347,14 +1347,14 @@@@ # # Collect "latency" # Collect "udp-answers" "udp-queries" -# Socket "/var/run/pdns.controlsocket" +# Socket "@@localstatedir@@/run/pdns.controlsocket" # # # Collect "questions" # Collect "cache-hits" "cache-misses" -# Socket "/var/run/pdns_recursor.controlsocket" +# Socket "@@localstatedir@@/run/pdns_recursor.controlsocket" # -# LocalSocket "/opt/collectd/var/run/collectd-powerdns" +# LocalSocket "@@localstatedir@@/run/collectd-powerdns" # # @@@@ -1466,14 +1466,14 @@@@ # # DaemonAddress "unix:/tmp/rrdcached.sock" -# DataDir "@@localstatedir@@/lib/@@PACKAGE_NAME@@/rrd" +# DataDir "@@localstatedir@@/db/@@PACKAGE_NAME@@/rrd" # CreateFiles true # CreateFilesAsync false # CollectStatistics true # # -# DataDir "@@localstatedir@@/lib/@@PACKAGE_NAME@@/rrd" +# DataDir "@@localstatedir@@/db/@@PACKAGE_NAME@@/rrd" # CreateFilesAsync false # CacheTimeout 120 # CacheFlush 900 @@@@ -1711,7 +1711,7 @@@@ # Type "kpackets_wire_per_sec.realtime" # ValueFrom 4 # -# +# # Instance "snort-eth0" # Interval 600 # Collect "dropped" "mbps" "alerts" "kpps" @@@@ -1773,7 +1773,7 @@@@ # # -# SocketFile "@@prefix@@/var/run/@@PACKAGE_NAME@@-unixsock" +# SocketFile "@@localstatedir@@/run/@@PACKAGE_NAME@@-unixsock" # SocketGroup "collectd" # SocketPerms "0660" # DeleteSocket false @ 1.2 log @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 "" block has been deprecated in favor of "". * 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. @ text @d1 1 a1 1 $NetBSD: patch-src_collectd.conf.in,v 1.1 2014/02/17 11:21:55 fhajny Exp $ d4 3 a6 2 --- src/collectd.conf.in.orig 2015-05-20 12:05:42.672060002 +0000 +++ src/collectd.conf.in d16 1 a16 1 @@@@ -315,16 +315,16 @@@@ d37 1 a37 1 @@@@ -340,7 +340,7 @@@@ d46 1 a46 1 @@@@ -683,7 +683,7 @@@@ d55 1 a55 1 @@@@ -956,14 +956,14 @@@@ d73 1 a73 1 @@@@ -1011,14 +1011,14 @@@@ d90 1 a90 1 @@@@ -1174,7 +1174,7 @@@@ d99 1 a99 1 @@@@ -1231,7 +1231,7 @@@@ @ 1.1 log @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. @ text @d1 1 a1 1 $NetBSD$ d4 1 a4 1 --- src/collectd.conf.in.orig 2014-01-26 08:09:23.516559631 +0000 d15 19 a33 1 @@@@ -278,7 +278,7 @@@@ d36 3 d45 1 a45 2 @@@@ -566,7 +566,7 @@@@ # d47 1 d54 1 a54 1 @@@@ -827,14 +827,14 @@@@ d72 1 a72 1 @@@@ -882,14 +882,14 @@@@ d89 1 a89 10 @@@@ -994,7 +994,7 @@@@ # # -# +# # Instance "exim" # # Regex "S=([1-9][0-9]*)" @@@@ -1031,7 +1031,7 @@@@ d98 1 a98 1 @@@@ -1068,7 +1068,7 @@@@ @