aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2016-04-11 22:53:21 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2016-04-11 22:53:21 +0000
commit7f62322bedfa77d8f06f46eaff412aa0850bd98d (patch)
tree64b231ff33fe1dcebd270332ae2c2fdb1988f631 /net-mgmt
parent954e5ef2c067f7407beac41a98f41d253a95c04d (diff)
downloadports-7f62322bedfa77d8f06f46eaff412aa0850bd98d.tar.gz
ports-7f62322bedfa77d8f06f46eaff412aa0850bd98d.zip
Add Influxdata's telegraf to the ports tree
Telegraf is an open source agent written in Go for collecting metrics and data on the system it's running on or from other services. Telegraf then writes the data to InfluxDB in the correct format. The port was originally created by Stefan Lambrev and he approved that I take maintainership.
Notes
Notes: svn path=/head/; revision=413089
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/telegraf/Makefile192
-rw-r--r--net-mgmt/telegraf/distinfo110
-rw-r--r--net-mgmt/telegraf/files/telegraf.in33
-rw-r--r--net-mgmt/telegraf/pkg-descr5
-rw-r--r--net-mgmt/telegraf/pkg-plist2
6 files changed, 343 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 1a480ed60a5c..fb3a1d00cb56 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -320,6 +320,7 @@
SUBDIR += sysmon
SUBDIR += tcpreplay
SUBDIR += tcptrack
+ SUBDIR += telegraf
SUBDIR += torrus
SUBDIR += unifi3
SUBDIR += unifi4
diff --git a/net-mgmt/telegraf/Makefile b/net-mgmt/telegraf/Makefile
new file mode 100644
index 000000000000..2ff2c6c511c3
--- /dev/null
+++ b/net-mgmt/telegraf/Makefile
@@ -0,0 +1,192 @@
+# Created by: Stefan Lambrev <cheffo@freebsd-bg.org>
+# $FreeBSD$
+
+PORTNAME= telegraf
+PORTVERSION= 0.12.0
+CATEGORIES= net-mgmt
+
+MAINTAINER= girgen@FreeBSD.org
+COMMENT= Time-series data collection
+
+LICENSE= MIT
+
+BUILD_DEPENDS= go>=1.5.0:${PORTSDIR}/lang/go
+
+ONLY_FOR_ARCHS= i386 amd64
+
+USE_RC_SUBR= telegraf
+
+USE_GITHUB= yes
+
+GH_ACCOUNT= influxdata:DEFAULT
+GH_TUPLE= Shopify:sarama:8aadb47:sarama \
+ Sirupsen:logrus:219c8cb:logrus \
+ amir:raidman:53c1b96:raidman \
+ aws:aws-sdk-go:13a1206:aws_sdk_go \
+ beorn7:perks:3ac7bf7:perks \
+ cenkalti:backoff:4dc7767:backoff \
+ couchbase:go-couchbase:cb66431:go_couchbase \
+ couchbase:gomemcached:a5ea635:gomemcached \
+ couchbase:goutils:5823a0c:goutils \
+ dancannon:gorethink:e7cac92:gorethink \
+ davecgh:go-spew:5215b55:go_spew \
+ eapache:go-resiliency:b86b1ec:go_resiliency \
+ eapache:queue:ded5959:queue \
+ eclipse:paho.mqtt.golang:4ab3e86:paho_mqtt_golang \
+ fsouza:go-dockerclient:a49c826:go_dockerclient \
+ go-sql-driver:mysql:1fca743:mysql \
+ golang:protobuf:552c7b9:protobuf \
+ golang:snappy:427fb6f:snappy \
+ gonuts:go-shellquote:e842a11:go_shellquote \
+ gorilla:context:1ea2538:context \
+ gorilla:mux:c9e326e:mux \
+ hailocab:go-hostpool:e80d13c:go_hostpool \
+ influxdata:config:b79f682:config \
+ influxdata:influxdb:e3fef55:influxdb \
+ influxdata:toml:af4df43:toml \
+ klauspost:crc32:19b0b33:crc32 \
+ lib:pq:e182dc4:pq \
+ matttproud:golang_protobuf_extensions:d0c3fe8:golang_protobuf_extensions \
+ miekg:dns:cce6c13:dns \
+ mreiferson:go-snappystream:028eae7:go_snappystream \
+ naoina:go-stringutil:6b638e9:go_stringutil \
+ nats-io:nats:b13fc9d:nats \
+ nats-io:nuid:4f84f5f:nuid \
+ nsqio:go-nsq:0b80d6f:go_nsq \
+ prometheus:client_golang:18acf99:client_golang \
+ prometheus:client_model:fa8ad6f:client_model \
+ prometheus:common:e8eabff:common \
+ prometheus:procfs:406e5b7:procfs \
+ samuel:go-zookeeper:218e9c8:go_zookeeper \
+ shirou:gopsutil:1f32ce1:gopsutil \
+ soniah:gosnmp:b1b4f88:gosnmp \
+ sparrc:gdm:2b0dfaa:gdm \
+ streadway:amqp:b4f3cea:amqp \
+ stretchr:testify:1f4a164:testify \
+ wvanbergen:kafka:46f9a1c:kafka \
+ wvanbergen:kazoo-go:0f76871:kazoo_go \
+ zensqlmonitor:go-mssqldb:ffe5510:go_mssqldb \
+ golang:crypto:5dc8cb4:crypto \
+ golang:net:6acef71:net \
+ golang:text:a71fd10:text \
+ golang:tools:13c24a6:tools \
+ fatih:pool:cba550e:pool \
+ go-mgo:mgo:d90005c:mgo \
+ go-yaml:yaml:a83829b:yaml
+
+SUB_FILES= telegraf
+SUB_LIST+= TELEGRAF_PIDDIR=${TELEGRAF_PIDDIR}
+PLIST_SUB= TELEGRAF_PIDDIR=${TELEGRAF_PIDDIR}
+
+STRIP= # stripping can break go binaries
+
+post-patch:
+ @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} \
+ ${WRKSRC}/src/github.com/Shopify \
+ ${WRKSRC}/src/github.com/Sirupsen \
+ ${WRKSRC}/src/github.com/amir \
+ ${WRKSRC}/src/github.com/aws \
+ ${WRKSRC}/src/github.com/beorn7 \
+ ${WRKSRC}/src/github.com/cenkalti \
+ ${WRKSRC}/src/github.com/couchbase \
+ ${WRKSRC}/src/github.com/dancannon \
+ ${WRKSRC}/src/github.com/davecgh \
+ ${WRKSRC}/src/github.com/eapache \
+ ${WRKSRC}/src/github.com/eclipse \
+ ${WRKSRC}/src/github.com/fsouza \
+ ${WRKSRC}/src/github.com/go-sql-driver \
+ ${WRKSRC}/src/github.com/golang \
+ ${WRKSRC}/src/github.com/gonuts \
+ ${WRKSRC}/src/github.com/gorilla \
+ ${WRKSRC}/src/github.com/hailocab \
+ ${WRKSRC}/src/github.com/influxdata \
+ ${WRKSRC}/src/github.com/klauspost \
+ ${WRKSRC}/src/github.com/lib \
+ ${WRKSRC}/src/github.com/matttproud \
+ ${WRKSRC}/src/github.com/miekg \
+ ${WRKSRC}/src/github.com/mreiferson \
+ ${WRKSRC}/src/github.com/naoina \
+ ${WRKSRC}/src/github.com/nats-io \
+ ${WRKSRC}/src/github.com/nsqio \
+ ${WRKSRC}/src/github.com/prometheus \
+ ${WRKSRC}/src/github.com/samuel \
+ ${WRKSRC}/src/github.com/shirou \
+ ${WRKSRC}/src/github.com/soniah \
+ ${WRKSRC}/src/github.com/sparrc \
+ ${WRKSRC}/src/github.com/streadway \
+ ${WRKSRC}/src/github.com/stretchr \
+ ${WRKSRC}/src/github.com/wvanbergen \
+ ${WRKSRC}/src/github.com/zensqlmonitor \
+ ${WRKSRC}/src/golang.org/x \
+ ${WRKSRC}/src/gopkg.in/dancannon \
+ ${WRKSRC}/src/gopkg.in/fatih
+ @cd ${WRKSRC} && ${MV} CHANGELOG.md CONTRIBUTING.md Godeps Godeps_windows \
+ LICENSE Makefile README.md accumulator.go agent circle.yml cmd docs etc \
+ input.go internal metric.go metric_test.go output.go plugins scripts testutil \
+ ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}
+ @${MV} ${WRKSRC_sarama} ${WRKSRC}/src/github.com/Shopify/sarama ;\
+ ${MV} ${WRKSRC_logrus} ${WRKSRC}/src/github.com/Sirupsen/logrus ;\
+ ${MV} ${WRKSRC_raidman} ${WRKSRC}/src/github.com/amir/raidman ;\
+ ${MV} ${WRKSRC_aws_sdk_go} ${WRKSRC}/src/github.com/aws/aws-sdk-go ;\
+ ${MV} ${WRKSRC_perks} ${WRKSRC}/src/github.com/beorn7/perks ;\
+ ${MV} ${WRKSRC_backoff} ${WRKSRC}/src/github.com/cenkalti/backoff ;\
+ ${MV} ${WRKSRC_go_couchbase} ${WRKSRC}/src/github.com/couchbase/go-couchbase ;\
+ ${MV} ${WRKSRC_gomemcached} ${WRKSRC}/src/github.com/couchbase/gomemcached ;\
+ ${MV} ${WRKSRC_goutils} ${WRKSRC}/src/github.com/couchbase/goutils ;\
+ ${MV} ${WRKSRC_gorethink} ${WRKSRC}/src/github.com/dancannon/gorethink ;\
+ ${MV} ${WRKSRC_go_spew} ${WRKSRC}/src/github.com/davecgh/go-spew ;\
+ ${MV} ${WRKSRC_go_resiliency} ${WRKSRC}/src/github.com/eapache/go-resiliency ;\
+ ${MV} ${WRKSRC_queue} ${WRKSRC}/src/github.com/eapache/queue ;\
+ ${MV} ${WRKSRC_paho_mqtt_golang} ${WRKSRC}/src/github.com/eclipse/paho.mqtt.golang ;\
+ ${MV} ${WRKSRC_go_dockerclient} ${WRKSRC}/src/github.com/fsouza/go-dockerclient ;\
+ ${MV} ${WRKSRC_mysql} ${WRKSRC}/src/github.com/go-sql-driver/mysql ;\
+ ${MV} ${WRKSRC_protobuf} ${WRKSRC}/src/github.com/golang/protobuf ;\
+ ${MV} ${WRKSRC_snappy} ${WRKSRC}/src/github.com/golang/snappy ;\
+ ${MV} ${WRKSRC_go_shellquote} ${WRKSRC}/src/github.com/gonuts/go-shellquote ;\
+ ${MV} ${WRKSRC_context} ${WRKSRC}/src/github.com/gorilla/context ;\
+ ${MV} ${WRKSRC_mux} ${WRKSRC}/src/github.com/gorilla/mux ;\
+ ${MV} ${WRKSRC_go_hostpool} ${WRKSRC}/src/github.com/hailocab/go-hostpool ;\
+ ${MV} ${WRKSRC_config} ${WRKSRC}/src/github.com/influxdata/config ;\
+ ${MV} ${WRKSRC_influxdb} ${WRKSRC}/src/github.com/influxdata/influxdb ;\
+ ${MV} ${WRKSRC_toml} ${WRKSRC}/src/github.com/influxdata/toml ;\
+ ${MV} ${WRKSRC_crc32} ${WRKSRC}/src/github.com/klauspost/crc32 ;\
+ ${MV} ${WRKSRC_pq} ${WRKSRC}/src/github.com/lib/pq ;\
+ ${MV} ${WRKSRC_golang_protobuf_extensions} ${WRKSRC}/src/github.com/matttproud/golang_protobuf_extensions ;\
+ ${MV} ${WRKSRC_dns} ${WRKSRC}/src/github.com/miekg/dns ;\
+ ${MV} ${WRKSRC_go_snappystream} ${WRKSRC}/src/github.com/mreiferson/go-snappystream ;\
+ ${MV} ${WRKSRC_go_stringutil} ${WRKSRC}/src/github.com/naoina/go-stringutil ;\
+ ${MV} ${WRKSRC_nats} ${WRKSRC}/src/github.com/nats-io/nats ;\
+ ${MV} ${WRKSRC_nuid} ${WRKSRC}/src/github.com/nats-io/nuid ;\
+ ${MV} ${WRKSRC_go_nsq} ${WRKSRC}/src/github.com/nsqio/go-nsq ;\
+ ${MV} ${WRKSRC_client_golang} ${WRKSRC}/src/github.com/prometheus/client_golang ;\
+ ${MV} ${WRKSRC_client_model} ${WRKSRC}/src/github.com/prometheus/client_model ;\
+ ${MV} ${WRKSRC_common} ${WRKSRC}/src/github.com/prometheus/common ;\
+ ${MV} ${WRKSRC_procfs} ${WRKSRC}/src/github.com/prometheus/procfs ;\
+ ${MV} ${WRKSRC_go_zookeeper} ${WRKSRC}/src/github.com/samuel/go-zookeeper ;\
+ ${MV} ${WRKSRC_gopsutil} ${WRKSRC}/src/github.com/shirou/gopsutil ;\
+ ${MV} ${WRKSRC_gosnmp} ${WRKSRC}/src/github.com/soniah/gosnmp ;\
+ ${MV} ${WRKSRC_gdm} ${WRKSRC}/src/github.com/sparrc/gdm ;\
+ ${MV} ${WRKSRC_amqp} ${WRKSRC}/src/github.com/streadway/amqp ;\
+ ${MV} ${WRKSRC_testify} ${WRKSRC}/src/github.com/stretchr/testify ;\
+ ${MV} ${WRKSRC_kafka} ${WRKSRC}/src/github.com/wvanbergen/kafka ;\
+ ${MV} ${WRKSRC_kazoo_go} ${WRKSRC}/src/github.com/wvanbergen/kazoo-go ;\
+ ${MV} ${WRKSRC_go_mssqldb} ${WRKSRC}/src/github.com/zensqlmonitor/go-mssqldb ;\
+ ${MV} ${WRKSRC_crypto} ${WRKSRC}/src/golang.org/x/crypto ;\
+ ${MV} ${WRKSRC_net} ${WRKSRC}/src/golang.org/x/net ;\
+ ${MV} ${WRKSRC_text} ${WRKSRC}/src/golang.org/x/text ;\
+ ${MV} ${WRKSRC_tools} ${WRKSRC}/src/golang.org/x/tools ;\
+ ${MV} ${WRKSRC_pool} ${WRKSRC}/src/gopkg.in/fatih/pool.v2 ;\
+ ${MV} ${WRKSRC_mgo} ${WRKSRC}/src/gopkg.in/mgo.v2 ;\
+ ${MV} ${WRKSRC_yaml} ${WRKSRC}/src/gopkg.in/yaml.v2 ;\
+ ${LN} -s ${WRKSRC}/src/github.com/dancannon/gorethink ${WRKSRC}/src/gopkg.in/dancannon/gorethink.v1
+
+do-build:
+ @cd ${WRKSRC}/src/github.com/influxdata/${PORTNAME} && ${SETENV} GOPATH=${WRKSRC} go install ./...
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_DATA} \
+ ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/etc/${PORTNAME}.conf \
+ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/telegraf/distinfo b/net-mgmt/telegraf/distinfo
new file mode 100644
index 000000000000..bb48772f7965
--- /dev/null
+++ b/net-mgmt/telegraf/distinfo
@@ -0,0 +1,110 @@
+SHA256 (influxdata-telegraf-0.12.0_GH0.tar.gz) = 81f715d3efa6f801cf9bc433922280be7fda10c2aedcb4d0b2a91f51f881ccc4
+SIZE (influxdata-telegraf-0.12.0_GH0.tar.gz) = 402197
+SHA256 (Shopify-sarama-8aadb47_GH0.tar.gz) = 4d5c1a1771719b72b20944601586bdb54c33e77456ba28386cbfa9a24a717d2c
+SIZE (Shopify-sarama-8aadb47_GH0.tar.gz) = 107944
+SHA256 (Sirupsen-logrus-219c8cb_GH0.tar.gz) = 69fc1b5e03ac00f1f8af7cdfa6e8c382b1189c63697059a2fcda9e19e8fbb6ad
+SIZE (Sirupsen-logrus-219c8cb_GH0.tar.gz) = 21514
+SHA256 (amir-raidman-53c1b96_GH0.tar.gz) = f2403080454e11a936b77c5efc8ea40918c29c251b21d3ceddef357a7138ab4d
+SIZE (amir-raidman-53c1b96_GH0.tar.gz) = 6549
+SHA256 (aws-aws-sdk-go-13a1206_GH0.tar.gz) = 4f2cbe0f285e7fb6e38542dcf884be11fa3db552c2408eba44ecac2933fee39b
+SIZE (aws-aws-sdk-go-13a1206_GH0.tar.gz) = 2981133
+SHA256 (beorn7-perks-3ac7bf7_GH0.tar.gz) = bf6cd6798ead260629e6d05e551570799e906518e5bbdbb707133807b6921726
+SIZE (beorn7-perks-3ac7bf7_GH0.tar.gz) = 10435
+SHA256 (cenkalti-backoff-4dc7767_GH0.tar.gz) = 80bb5f22c44945cbd88e93cd6192bda69ad34487c7c92e2b5b6541bcf06497d7
+SIZE (cenkalti-backoff-4dc7767_GH0.tar.gz) = 7949
+SHA256 (couchbase-go-couchbase-cb66431_GH0.tar.gz) = c1f0686415a22973b4734b62ca084b800f6774a5276c69d9daf6cb64de27b4c6
+SIZE (couchbase-go-couchbase-cb66431_GH0.tar.gz) = 68280
+SHA256 (couchbase-gomemcached-a5ea635_GH0.tar.gz) = d1f1e01da7c437ca16c5ae71b220a4cbcf01062ca7d6b47ddc84ee79acc8f453
+SIZE (couchbase-gomemcached-a5ea635_GH0.tar.gz) = 30251
+SHA256 (couchbase-goutils-5823a0c_GH0.tar.gz) = 653dea41d42bd96572c8763c1902c2e0fbbd20f9e71e70318da8803e2d924f69
+SIZE (couchbase-goutils-5823a0c_GH0.tar.gz) = 8518
+SHA256 (dancannon-gorethink-e7cac92_GH0.tar.gz) = 2bd7dc2e322cb0538c79d4c109d8ce2cf3073f7d2e8f6a9e0ca5b6350196c202
+SIZE (dancannon-gorethink-e7cac92_GH0.tar.gz) = 112279
+SHA256 (davecgh-go-spew-5215b55_GH0.tar.gz) = a73d6352d8172dfb648e6aa25a8b81ed5c1895295090c876bef01d017264cbac
+SIZE (davecgh-go-spew-5215b55_GH0.tar.gz) = 41794
+SHA256 (eapache-go-resiliency-b86b1ec_GH0.tar.gz) = deab03d384a48b22bb4fdb9aad7007ca98d233cece7a17faab50026599747a04
+SIZE (eapache-go-resiliency-b86b1ec_GH0.tar.gz) = 9584
+SHA256 (eapache-queue-ded5959_GH0.tar.gz) = a3aa9c17d3c0a563d1b52bc0c50ec825cfeb94606defc27076b97418c3771ded
+SIZE (eapache-queue-ded5959_GH0.tar.gz) = 3261
+SHA256 (eclipse-paho.mqtt.golang-4ab3e86_GH0.tar.gz) = c006eacfc0c36838cd9b056b934d6086fcd99fbc64f8f341ffbe0b467e673666
+SIZE (eclipse-paho.mqtt.golang-4ab3e86_GH0.tar.gz) = 66563
+SHA256 (fsouza-go-dockerclient-a49c826_GH0.tar.gz) = df653ed4c095edfccb2e2d11bc04c021e4996b88010def1bc1d5bfdf56763c76
+SIZE (fsouza-go-dockerclient-a49c826_GH0.tar.gz) = 715778
+SHA256 (go-sql-driver-mysql-1fca743_GH0.tar.gz) = d3018ed045230d851a309ac750d06447c1c50723889bccb49923581ad8d08a7a
+SIZE (go-sql-driver-mysql-1fca743_GH0.tar.gz) = 56642
+SHA256 (golang-protobuf-552c7b9_GH0.tar.gz) = 15244394c5205ecb4776182b0f56a6946c6deeed63ebfcb3eefc657663d4cf7c
+SIZE (golang-protobuf-552c7b9_GH0.tar.gz) = 203827
+SHA256 (golang-snappy-427fb6f_GH0.tar.gz) = f9af47f0b908a37bf7e904e110efb50d9849687cfaa1c3760a8cf96e1e996dd0
+SIZE (golang-snappy-427fb6f_GH0.tar.gz) = 32498
+SHA256 (gonuts-go-shellquote-e842a11_GH0.tar.gz) = 52ab78eb46f479b2e6ae5cb104f84d156817bc96051d221e26f8491fd08600ef
+SIZE (gonuts-go-shellquote-e842a11_GH0.tar.gz) = 3405
+SHA256 (gorilla-context-1ea2538_GH0.tar.gz) = 178b6d2f3f208a609d86729c7d21b0e72c60fb8c555e0b37b0a8657b793cae15
+SIZE (gorilla-context-1ea2538_GH0.tar.gz) = 4368
+SHA256 (gorilla-mux-c9e326e_GH0.tar.gz) = 70b1cc12e5a1e80738004d1c03e09ca948c3ba75c19b3b941a0a5b8990c7964a
+SIZE (gorilla-mux-c9e326e_GH0.tar.gz) = 23685
+SHA256 (hailocab-go-hostpool-e80d13c_GH0.tar.gz) = 9c0ca4a9c0bba2ec0f9b3844c0fd65291efcc5530fb5ec517f2cb4054a5049b9
+SIZE (hailocab-go-hostpool-e80d13c_GH0.tar.gz) = 7031
+SHA256 (influxdata-config-b79f682_GH0.tar.gz) = 0ad6bc6c8046b08b8e3dd0526955e8e1414c4fa00ae0bf13faa2b1173c209de8
+SIZE (influxdata-config-b79f682_GH0.tar.gz) = 3689
+SHA256 (influxdata-influxdb-e3fef55_GH0.tar.gz) = 029d516b80baa8bf2dc6bf20cdf1b233243038095697bd2856ea81ed280415a6
+SIZE (influxdata-influxdb-e3fef55_GH0.tar.gz) = 1174574
+SHA256 (influxdata-toml-af4df43_GH0.tar.gz) = 86231e74617206c8df2f9a69d1d735b7a30b1c51e9013f3d28f7c32f9d253f09
+SIZE (influxdata-toml-af4df43_GH0.tar.gz) = 34582
+SHA256 (klauspost-crc32-19b0b33_GH0.tar.gz) = 37d90652654594b94485e2208fe221a145fab13004e88c74f8701ec58d5465a2
+SIZE (klauspost-crc32-19b0b33_GH0.tar.gz) = 9087
+SHA256 (lib-pq-e182dc4_GH0.tar.gz) = 3889fcbb148b97fc013a6d0344c5e36872219c243c702b44e11beee0852edb29
+SIZE (lib-pq-e182dc4_GH0.tar.gz) = 68821
+SHA256 (matttproud-golang_protobuf_extensions-d0c3fe8_GH0.tar.gz) = f78680b1ceb9e2f17cb2c4053cbe86051b8f79c203ed4914d39db83036b15f9b
+SIZE (matttproud-golang_protobuf_extensions-d0c3fe8_GH0.tar.gz) = 10721
+SHA256 (miekg-dns-cce6c13_GH0.tar.gz) = 93e5d3de9b1b572c65d7dcfa474d69cb4d4bfbf5a5f0826b840fbf31249b29a7
+SIZE (miekg-dns-cce6c13_GH0.tar.gz) = 161532
+SHA256 (mreiferson-go-snappystream-028eae7_GH0.tar.gz) = 0c7c8340c92b591a9175c7717a7fe9e3916975225d83dfc2cde4cb4c39d8920c
+SIZE (mreiferson-go-snappystream-028eae7_GH0.tar.gz) = 30794
+SHA256 (naoina-go-stringutil-6b638e9_GH0.tar.gz) = 0c3a0c9110ed9d0b60334d4604837fa296fc9c8c9f16b88a877adac4cfed2739
+SIZE (naoina-go-stringutil-6b638e9_GH0.tar.gz) = 6133
+SHA256 (nats-io-nats-b13fc9d_GH0.tar.gz) = a00d32762896c4624250479dfceb91c8239bb51a4e9efa087c258454f55c3be5
+SIZE (nats-io-nats-b13fc9d_GH0.tar.gz) = 68896
+SHA256 (nats-io-nuid-4f84f5f_GH0.tar.gz) = 70b407d72337fd3cd632669ce81dec70e2ddf41ba0aaf7075855448905eb508c
+SIZE (nats-io-nuid-4f84f5f_GH0.tar.gz) = 3650
+SHA256 (nsqio-go-nsq-0b80d6f_GH0.tar.gz) = b7ddada1783ca5cd540038473fb0db9b0f7dfd37a35b84e08114c03832abcc4e
+SIZE (nsqio-go-nsq-0b80d6f_GH0.tar.gz) = 44391
+SHA256 (prometheus-client_golang-18acf99_GH0.tar.gz) = 9107b0d2a6e4ec34cf02e8d44c6aac5ca97291d584d39e3ec2e7374a25f06a8a
+SIZE (prometheus-client_golang-18acf99_GH0.tar.gz) = 65381
+SHA256 (prometheus-client_model-fa8ad6f_GH0.tar.gz) = 726ebe6d3aba7c99ffc30788972ef693d0521072c6a33794a9d8ee1f26389466
+SIZE (prometheus-client_model-fa8ad6f_GH0.tar.gz) = 54787
+SHA256 (prometheus-common-e8eabff_GH0.tar.gz) = 497d6653fc1ecb4eddeb594bdeddef9159a1cdc60b0711c608ebea6dfedba7cd
+SIZE (prometheus-common-e8eabff_GH0.tar.gz) = 62798
+SHA256 (prometheus-procfs-406e5b7_GH0.tar.gz) = 814cea06f2be5178a1527dab653b53d11d145bd27e914ea1387d556d6adc3ab8
+SIZE (prometheus-procfs-406e5b7_GH0.tar.gz) = 18538
+SHA256 (samuel-go-zookeeper-218e9c8_GH0.tar.gz) = 075c160c8fa56404ca2fe45467e88aff27b7f66a4221cf63e29fdd196c0ad27c
+SIZE (samuel-go-zookeeper-218e9c8_GH0.tar.gz) = 29296
+SHA256 (shirou-gopsutil-1f32ce1_GH0.tar.gz) = 9fcf859fb38c7be2ba6e050e4e6c20bf8e170d30d78e56d4d9596fae96f65b10
+SIZE (shirou-gopsutil-1f32ce1_GH0.tar.gz) = 64237
+SHA256 (soniah-gosnmp-b1b4f88_GH0.tar.gz) = 248218aa545187eb7a9644165b1d8b384dfb3f4b50c40734a2cd76288bd4f5fe
+SIZE (soniah-gosnmp-b1b4f88_GH0.tar.gz) = 38542
+SHA256 (sparrc-gdm-2b0dfaa_GH0.tar.gz) = 4b267be7b440a1b9d0292580d9811cefe1f0233cbd3f6fd0a4a4fc608aed8141
+SIZE (sparrc-gdm-2b0dfaa_GH0.tar.gz) = 8512
+SHA256 (streadway-amqp-b4f3cea_GH0.tar.gz) = e7536c75aa99fb3285bdac9cd4e2013fe63dafb4c5c36172d5cba9e90c9ad230
+SIZE (streadway-amqp-b4f3cea_GH0.tar.gz) = 79666
+SHA256 (stretchr-testify-1f4a164_GH0.tar.gz) = 89a936fa213d9b7358563ecf1aa7052eaf2fe4ef6443d8fe7b5c998d0e136578
+SIZE (stretchr-testify-1f4a164_GH0.tar.gz) = 81055
+SHA256 (wvanbergen-kafka-46f9a1c_GH0.tar.gz) = c5cf3ec419fad5ebec6b7c2e94b4fe13b12ee63266c7312a03fa62ee788cab84
+SIZE (wvanbergen-kafka-46f9a1c_GH0.tar.gz) = 15647
+SHA256 (wvanbergen-kazoo-go-0f76871_GH0.tar.gz) = 4436c1781ad18d521c88cc743c7a911c3a66d3db63e1ce5d5ab85d39986de2c2
+SIZE (wvanbergen-kazoo-go-0f76871_GH0.tar.gz) = 13152
+SHA256 (zensqlmonitor-go-mssqldb-ffe5510_GH0.tar.gz) = 864b1b900c73b7243f19eb39f4551bda26d32e5bb33c215fe767111e3d36b1c4
+SIZE (zensqlmonitor-go-mssqldb-ffe5510_GH0.tar.gz) = 449977
+SHA256 (golang-crypto-5dc8cb4_GH0.tar.gz) = 7b88733ae16c53e5178ca15a1b3b62580df89e02783c925c6e5855ea5208fd8a
+SIZE (golang-crypto-5dc8cb4_GH0.tar.gz) = 902313
+SHA256 (golang-net-6acef71_GH0.tar.gz) = aeea3d55a6e2f29329dfac8330817ccd449ffcb930b496fec0a47f011fa53f19
+SIZE (golang-net-6acef71_GH0.tar.gz) = 741883
+SHA256 (golang-text-a71fd10_GH0.tar.gz) = 8b8bfda09d60729c50162b67f5f3451980e7ce5c6580769c99a423172a6a75ad
+SIZE (golang-text-a71fd10_GH0.tar.gz) = 4030980
+SHA256 (golang-tools-13c24a6_GH0.tar.gz) = 07ce0f901439f1de688db6ee5b407daebd720ad368296d35d8985ee87e8933ea
+SIZE (golang-tools-13c24a6_GH0.tar.gz) = 1533742
+SHA256 (fatih-pool-cba550e_GH0.tar.gz) = fdcbcf67872333b16b74647bc4c8aa8100de81f58f0ea99ff83a519bf142e4cb
+SIZE (fatih-pool-cba550e_GH0.tar.gz) = 4854
+SHA256 (go-mgo-mgo-d90005c_GH0.tar.gz) = 61b770093578bb8fba54b9c2cdd6b2501376a2a62560f2394d28dd3f1f727ff4
+SIZE (go-mgo-mgo-d90005c_GH0.tar.gz) = 174137
+SHA256 (go-yaml-yaml-a83829b_GH0.tar.gz) = f28814393a025308c4ea49d6fec94feff9e0c7dc51b22ffdc62fe53736bef707
+SIZE (go-yaml-yaml-a83829b_GH0.tar.gz) = 63064
diff --git a/net-mgmt/telegraf/files/telegraf.in b/net-mgmt/telegraf/files/telegraf.in
new file mode 100644
index 000000000000..14d663459ad5
--- /dev/null
+++ b/net-mgmt/telegraf/files/telegraf.in
@@ -0,0 +1,33 @@
+#!/bin/sh
+# $FreeBSD$
+
+# PROVIDE: telegraf
+# REQUIRE: DAEMON NETWORKING
+# BEFORE: LOGIN
+# KEYWORD: shutdown
+
+# Add the following lines to /etc/rc.conf to enable telegrafb:
+# telegraf_enable="YES"
+#
+# telegraf_enable (bool): Set to YES to enable telegraf
+# Default: NO
+# telegraf_conf (str): telegraf configuration file
+# Default: ${PREFIX}/etc/telegraf.conf
+# telegraf_flags (str): Extra flags passed to telegraf
+
+. /etc/rc.subr
+
+name="telegraf"
+rcvar=telegraf_enable
+load_rc_config $name
+
+: ${telegraf_enable:="NO"}
+: ${telegraf_flags:=""}
+: ${telegraf_conf:="%%PREFIX%%/etc/${name}.conf"}
+
+# daemon
+pidfile="/var/run/${name}.pid"
+command=/usr/sbin/daemon
+command_args="-crP ${pidfile} %%PREFIX%%/bin/${name} ${telegraf_flags} -config=${telegraf_conf} 2>> /var/log/telegraf.log"
+
+run_rc_command "$1"
diff --git a/net-mgmt/telegraf/pkg-descr b/net-mgmt/telegraf/pkg-descr
new file mode 100644
index 000000000000..029b9d252604
--- /dev/null
+++ b/net-mgmt/telegraf/pkg-descr
@@ -0,0 +1,5 @@
+Telegraf is an open source agent written in Go for collecting metrics and data
+on the system it's running on or from other services. Telegraf then writes the
+data to InfluxDB in the correct format.
+
+WWW: https://influxdata.com/time-series-platform/telegraf/
diff --git a/net-mgmt/telegraf/pkg-plist b/net-mgmt/telegraf/pkg-plist
new file mode 100644
index 000000000000..6d56ef3e73b2
--- /dev/null
+++ b/net-mgmt/telegraf/pkg-plist
@@ -0,0 +1,2 @@
+bin/telegraf
+@sample etc/telegraf.conf.sample