57 Commits

Author SHA1 Message Date
landry
c55f7ac65c Ugly bandaid: bump CMDLINE_BUFFER_SIZE to 16k instead of defaulting to
4k, i'm hitting "processes plugin: Command line did not fit into
buffer." warning way too much and this spams logs. Better solution would
be to dynamically alloc the array on the fly as-needed like top/ps
does..
2016-12-12 17:55:24 +00:00
landry
f9eaf01334 add link to upstream pull-request 2016-12-08 10:06:42 +00:00
landry
3981736abe Drop useless patch, netinet/in.h is properly detected and included. 2016-12-08 09:42:11 +00:00
jca
8cce6470d9 Unbreak the kvm(3) calls used by the processes and tcpconns plugins.
- patch the correct kvm_open call to use KVM_NO_FILES.  Also, use
  kvm_openfiles instead, as was probably intended
- add a new implementation for tcpconns, based on kvm_getfiles instead
  of peeking at kernel memory

ok landry@
2016-12-04 16:56:53 +00:00
jca
6eedafef6f Kill useless patch.
This plugin uses swapctl(2), not kvm_getswapinfo(3) (which we don't
provide).
2016-12-04 16:52:39 +00:00
landry
99f2ee96c4 Update to collectd 5.6.2.
- put the write_riemann plugin in its own subpackage, depending on
  riemann-c-client.
- disable protobuf-c detection/dependency, used by two plugins we dont
  enable (pinba and grpc)
- fix some WANTLIB
- the processes and tcpconns plugin still seem to be busted, calling
  kvm_openfiles with O_RDONLY|KVM_NO_FILES is apparently not enough.
Interestingly, swap plugin (using the same code) works ?

Based on a diff from Pavel Korovin for 5.6.1, thanks!
2016-12-03 11:44:41 +00:00
jca
8ddf812acd Use KVM_NO_FILES to unbreak processes and swap plugins.
The tcpconns plugin needs more work, using kvm_getfiles(3) or sysctl(3).
Prodded by landry@
2016-12-02 15:50:29 +00:00
sthen
2d2a417458 sync WANTLIB (readding idn to some where I was overzealous, plus some lzma/pthread) 2016-11-07 10:51:36 +00:00
sthen
c15b136e13 sync WANTLIB (and in one case, add gettext to LIB_DEPENDS) in dependent ports
now that internationalised domain name support has been removed from net/curl
2016-11-04 11:35:18 +00:00
landry
9d52f74e0e Update to collectd 5.5.1.
Remove patches merged upstream, add patch to fix the build from
https://github.com/collectd/collectd/issues/1674
2016-06-13 09:12:40 +00:00
sthen
5f98583af5 handle rrdtool lib change that I missed in collectd when I looked at
sqlports results (thanks nigel for pointing out), sync other wantlib
while there.
2016-04-22 15:27:45 +00:00
naddy
deea7ed07b drop SHARED_ONLY from python and ruby ports 2016-03-20 16:12:22 +00:00
sthen
981d86d970 sync WANTLIB (curl+nghttp2) 2015-10-30 12:59:16 +00:00
sthen
391dc93fe7 REVISION bumps following the additional member in struct if_data,
to make sure packages get updated
2015-10-05 16:29:01 +00:00
sthen
a626ee54a0 sync WANTLIB 2015-08-12 22:27:31 +00:00
landry
9746975e2e Backport fix for https://github.com/collectd/collectd/issues/1094
ok sthen@
2015-07-31 12:06:18 +00:00
landry
5baedee076 Regen patches. 2015-07-31 12:05:36 +00:00
landry
b1570099de Fix previous, collectd failed to load its plugins and really wants to
use gnu libtool with -export-symbol-regex when linking them, otherwise
it fails to find module_register. While here fix PKGLOCALSTATEDIR and
PIDFILE in src/daemon/Makefile.in.
Somehow, my limited testing on powerpc didnt show this failure at all..

All this from Pavel Korovin, thanks!
2015-07-27 14:53:38 +00:00
landry
2b05235748 Update to collectd 5.5.0.
Enable aggregation, curl_json, fhcount, log_logstash, memcached,
threshold, write_log & write_riemann plugins.
Add dependencies on devel/libyajl for curl_json & log_logstash and
devel/protobuf-c for write_riemann.
Add a README explaining how to run the daemon as _collectd user in case
you dont need the dns and ping plugins (the only ones requiring root).
Lots of patches merged upstream.

From Pavel Korovin with small tweaks by me, tested here on ppc.
2015-07-23 07:33:17 +00:00
sthen
fbd92509fc bump REVISIONs following DIOCGETSTATUS ABI change 2015-06-10 10:43:29 +00:00
landry
3dc0616b30 Update to collectd 5.4.2.
See https://github.com/collectd/collectd/releases/tag/collectd-5.4.2 for details.

Enable memcachec, libvirt, python and nut plugins, each in its subpackage.

ok ajacoutot@
2015-05-03 10:41:34 +00:00
naddy
29704fbaad <netinet/in.h> before <net/pfvar.h> 2015-01-23 13:01:16 +00:00
naddy
9118259504 Drop USE_GROFF: trivial page footer and acceptable formatting differences
only.
2015-01-22 20:26:43 +00:00
landry
ba2193a487 Enable the ping plugin via liboping.
Update PLISTs while here and add lzma to WANTLIBs (added via curl)
2014-12-01 09:07:12 +00:00
landry
871200dbb8 More links to pull requests merged upstream. 2014-11-17 15:23:12 +00:00
landry
70acb3cdc9 add links to upstream github PR 2014-10-27 09:07:07 +00:00
landry
1cd40058ea Enable the processes & rrdcached plugins.
whack processes.c to use the same codepaths as freebsd's, taking into
account kinfo_proc differences.. to be properly pushed upstream.
Tested on ppc & amd64.
2014-10-26 20:43:56 +00:00
landry
65cbb87679 Fix patch, somehow i failed at merging this.. noticed by rpe@, thanks! 2014-09-26 22:19:32 +00:00
landry
52a62809c3 Long awaited update to collectd 5.4.1.
- remove useless MESSAGE, provide an rc script instead
- enable pf, target_v5upgrade, tail_csv and write_graphite plugins
- backport fixes from FreeBSD and NetBSD to build with newer libstatgrab
  (upstream collectd github ticket #445)
- remove the check and inclusion of pcap-bpf.h, we dont have/need it
- users of the previous 4.x version should refer to
  https://collectd.org/wiki/index.php/V4_to_v5_migration_guide for the
upgrade path.

tested on ppc & amd64.
2014-09-25 20:10:13 +00:00
brad
b94a402501 Switch from using MySQL to using MariaDB attempt #2. MariaDB is a drop-in replacement.
ok sthen@
2014-09-13 18:09:20 +00:00
sthen
d28ae1dd0c include vmmeter.h 2014-07-11 00:12:15 +00:00
ajacoutot
892849cf02 Sync wantlib after kerberos removal from postgresql. 2014-04-21 13:33:08 +00:00
landry
5737d43f49 Install the example collectd.conf with 644 mode, and use @mode 640 for
the @sample version.
2014-01-24 20:40:17 +00:00
krw
ae52e93779 Replace circleq inpt_queue with tailq, as inpt_queue is now a TAILQ.
Spotted in bulk build by sthen@.
2013-12-28 20:44:21 +00:00
kili
a8f63b995c Unbreak after rrdtool update, While here tweak WANTLIB-*
a little bit.

ok sthen@
2013-11-06 20:45:48 +00:00
brad
17833ea850 Revert back to using MySQL 5.1 for the time being. MariaDB 5.5 introduces
a new libmysqlclient non-blocking API which utilizes co-routines. The X86
specific GCC ASM co-routine support hid the fact that there was an issue.
The only fallback code so far is POSIX user contexts which OpenBSD does not
support.

Input from and Ok sthen@ jasper@
2013-06-12 20:36:33 +00:00
brad
0b77cf86a5 Switch from using MySQL to using MariaDB. MariaDB is a drop-in replacement.
ok sthen aja
2013-05-25 00:33:09 +00:00
ajacoutot
58f1a6f9f6 USE_LIBTOOL=Yes is the default now. 2013-03-21 08:45:11 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
naddy
8d3589eb6c actually bump subpackage 2012-09-25 11:37:35 +00:00
jasper
7b5bd51a46 remove -lpthread vs. -pthread patches/chunks 2012-09-23 19:33:02 +00:00
naddy
8772c908e9 arpa/inet.h and netinet/in.h can now be #included in either order 2012-08-05 20:28:51 +00:00
jasper
9041fc74ae - these patches (or chunks) are not needed anymore since arpa/inet.h -r1.12 2012-06-26 14:40:06 +00:00
ajacoutot
689f54b24a --localstatedir=/var is the default now. 2012-04-28 10:52:08 +00:00
jasper
4f6e160902 - disable -Werror to unbreak the build after the recent libgcrypt update. 2012-04-05 09:20:12 +00:00
sthen
6141dc8a95 bump; net/if.h changes (missed with the last batch) 2011-11-18 01:08:01 +00:00
espie
46d3548829 normalize pkgpath 2011-09-16 11:41:38 +00:00
ajacoutot
ebf18cf0c6 Use the gettext MODULE 2011-07-07 00:22:37 +00:00
jasper
5b965fc5da SECURITY UPDATE of collectd to 4.10.2, among the regular bugfixes is a fix
for SA42393, collectd "cu_rrd_create_file()" Denial of Service Vulnerability.

ok landry@
2010-11-29 20:20:41 +00:00
espie
6c283d7e98 new depends 2010-11-20 17:22:40 +00:00