Date: Fri, 20 Apr 2018 15:41:33 +0000 (UTC) From: Luca Pizzamiglio <pizzamig@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467835 - head/net-mgmt/collectd5 Message-ID: <201804201541.w3KFfXSi096729@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pizzamig Date: Fri Apr 20 15:41:33 2018 New Revision: 467835 URL: https://svnweb.freebsd.org/changeset/ports/467835 Log: net-mgmt/collectd5: Add write_prometheus support The plugin write_promethues, already present in collectd5, is now configuration via the option PROMETHEUS PR: PR227634 Approved by: maintainer Sponsored by: trivago N.V. Modified: head/net-mgmt/collectd5/Makefile head/net-mgmt/collectd5/pkg-plist Modified: head/net-mgmt/collectd5/Makefile ============================================================================== --- head/net-mgmt/collectd5/Makefile Fri Apr 20 15:38:58 2018 (r467834) +++ head/net-mgmt/collectd5/Makefile Fri Apr 20 15:41:33 2018 (r467835) @@ -19,8 +19,8 @@ GNU_CONFIGURE= yes OPTIONS_DEFINE= CGI JAVA LOGGING GCRYPT LOGSTASH VIRT OPTIONS_GROUP= INPUT OUTPUT -OPTIONS_GROUP_OUTPUT= KAFKA MONGODB NOTIFYDESKTOP NOTIFYEMAIL RIEMANN RRDTOOL \ - TSDB +OPTIONS_GROUP_OUTPUT= KAFKA MONGODB NOTIFYDESKTOP NOTIFYEMAIL PROMETHEUS RIEMANN \ + RRDTOOL TSDB OPTIONS_GROUP_INPUT= CHRONY CURL CURL_JSON CURL_XML DBI IPMI JSON \ MEMCACHEC MODBUS MQTT MYSQL NUTUPS OLSRD ONEWIRE OPENLDAP \ PERL PGSQL PINBA PING PYTHON RABBITMQ REDIS ROUTEROS \ @@ -56,6 +56,7 @@ PERL_DESC= Enable libperl plugin and binding PGSQL_DESC= Enable postgresql-based plugins PINBA_DESC= Enable pinba plugin (via protobuf-c) PING_DESC= Enable ping plugin +PROMETHEUS_DESC= Enable write prometheus plugin PYTHON_DESC= Enable python-based plugins RABBITMQ_DESC= Enable rabbitmq-based plugins REDIS_DESC= Enable redis-based plugins @@ -214,6 +215,11 @@ PINBA_CONFIGURE_ENABLE= pinba PING_LIB_DEPENDS= liboping.so:net/liboping PING_CONFIGURE_ENABLE= ping PING_CONFIGURE_WITH= liboping=${LOCALBASE} + +PROMETHEUS_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c +PROMETHEUS_LIB_DEPENDS+= libprotoc.so:devel/protobuf +PROMETHEUS_LIB_DEPENDS+= libmicrohttpd.so:www/libmicrohttpd +PROMETHEUS_CONFIGURE_ENABLE= write_prometheus PYTHON_USES= python PYTHON_CONFIGURE_ENABLE= python Modified: head/net-mgmt/collectd5/pkg-plist ============================================================================== --- head/net-mgmt/collectd5/pkg-plist Fri Apr 20 15:38:58 2018 (r467834) +++ head/net-mgmt/collectd5/pkg-plist Fri Apr 20 15:41:33 2018 (r467835) @@ -104,6 +104,7 @@ lib/collectd/write_graphite.so lib/collectd/write_log.so %%KAFKA%%lib/collectd/write_kafka.so %%MONGODB%%lib/collectd/write_mongodb.so +%%PROMETHEUS%%lib/collectd/write_prometheus.so %%REDIS%%lib/collectd/write_redis.so %%RIEMANN%%lib/collectd/write_riemann.so %%TSDB%%lib/collectd/write_tsdb.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804201541.w3KFfXSi096729>