telegraf feature request

Started by chenwanli, October 07, 2018, 11:11:06 AM

Previous topic - Next topic
Some more:

also interesting would be

[[inputs.statsd]]

because it allows a bunch of statistics around tcp connections et al.

However, although being contained in the ports tree of opnsense as described here https://forum.opnsense.org/index.php?topic=2004 (indeed upgraded to 18.7.) it does not compile as some dependencies can not be built

===>  Staging for statsd-0.7.2_1
===>   statsd-0.7.2_1 depends on package: node6>=0 - not found
/!\ WARNING /!\

Ports Collection support for your FreeBSD version has ended, and no ports are
guaranteed to build on this system. Please upgrade to a supported release.

===>  License MIT accepted by the user
===>   node6-6.14.4 depends on file: /usr/local/sbin/pkg - found
=> node-v6.14.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://nodejs.org/dist/v6.14.4/node-v6.14.4.tar.gz
node-v6.14.4.tar.gz                           100% of   25 MB 2690 kBps 00m10s
===> Fetching all distfiles required by node6-6.14.4 for building
===>  Extracting for node6-6.14.4
=> SHA256 Checksum OK for node-v6.14.4.tar.gz.
===>  Patching for node6-6.14.4
===>  Applying FreeBSD patches for node6-6.14.4
===>   node6-6.14.4 depends on executable: gmake - found
===>   node6-6.14.4 depends on file: /usr/local/bin/python2.7 - found
===>   node6-6.14.4 depends on package: pkgconf>=1.3.0_1 - found
===>   node6-6.14.4 depends on file: /usr/local/lib/libcrypto.so.9 - found
===>   node6-6.14.4 depends on shared library: libcares.so - found (/usr/local/lib/libcares.so)
===>   node6-6.14.4 depends on shared library: libuv.so - not found
===>   libuv-1.23.2 depends on package: autoconf>=2.69 - found
===>   libuv-1.23.2 depends on package: automake>=1.16.1 - found
===>   libuv-1.23.2 depends on executable: libtoolize - not found
/!\ WARNING /!\

Ports Collection support for your FreeBSD version has ended, and no ports are
guaranteed to build on this system. Please upgrade to a supported release.

===>  License GPLv2 accepted by the user
===>   libtool-2.4.6 depends on file: /usr/local/sbin/pkg - found
=> libtool-2.4.6.tar.xz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.xz
libtool-2.4.6.tar.xz                          100% of  950 kB 2461 kBps 00m00s
===> Fetching all distfiles required by libtool-2.4.6 for building
===>  Extracting for libtool-2.4.6
=> SHA256 Checksum OK for libtool-2.4.6.tar.xz.
===>  Patching for libtool-2.4.6
===>   libtool-2.4.6 depends on executable: gm4 - found
===>   libtool-2.4.6 depends on executable: gmake - found
===>   libtool-2.4.6 depends on executable: makeinfo - not found
===>   texinfo-6.5,1 depends on executable: help2man - not found
===>   help2man-1.47.7 depends on executable: gmake - found
===>   help2man-1.47.7 depends on package: perl5>=5.26<5.27 - found
===>  Configuring for help2man-1.47.7
env: ./configure: No such file or directory
===>  Script "configure" failed unexpectedly.
Please report the problem to sunpoet@FreeBSD.org [maintainer] and attach the
"/usr/obj/usr/ports/misc/help2man/work/help2man-1.47.7/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[5]: stopped in /usr/ports/misc/help2man
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/print/texinfo
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/devel/libtool
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/devel/libuv
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/node6
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/statsd

Obviously, the ports tree seems not to be up to date to the current version of the freebsd Version of the Opnsense and some dependencies are not possible to be resolved/built. Prior to any further telegraf testing, a fix would be required.

Br br

You can request a pkg via github/tools. Then we can go in with it.

After 18.7.5 I'll add the features