summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5f42711)
raw | patch | inline | side by side (parent: 5f42711)
author | Sebastian Harl <sh@tokkee.org> | |
Sat, 21 Oct 2017 11:48:33 +0000 (13:48 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 21 Oct 2017 11:48:33 +0000 (13:48 +0200) |
Thanks to Saikrishna Arcot for reporting this.
Closes: #858315
Closes: #858315
debian/changelog | patch | blob | history | |
debian/collectd.conf | patch | blob | history | |
debian/control | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index c89d78fcf43289930cda35e9d9616b67f9f26ce1..2b16c498e4e993cd534c36ece79e02a92c3ae313 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
[ Sebastian Harl ]
* Disable the sigrok plugin for now; it's not compatible with libsigrok4;
thanks to Adrian Bunk for reporting this (Closes: #878348).
+ * Enable the write_mongodb plugin, libmongoc is now available. Thanks to
+ Saikrishna Arcot for reporting this (Closes: #858315).
-- Sebastian Harl <tokkee@debian.org> Sat, 21 Oct 2017 13:18:27 +0200
diff --git a/debian/collectd.conf b/debian/collectd.conf
index 76a3f546568c90cc9c42e02717f7d04a1ac8641b..6e8dc544e9cf18f55e217706c058d17e0a299cd2 100644 (file)
--- a/debian/collectd.conf
+++ b/debian/collectd.conf
#LoadPlugin write_http
#LoadPlugin write_kafka
#LoadPlugin write_log
+#LoadPlugin write_mongodb
#LoadPlugin write_prometheus
#LoadPlugin write_redis
#LoadPlugin write_riemann
# </Topic>
#</Plugin>
+#<Plugin write_mongodb>
+# <Node "example">
+# Host "localhost"
+# Port "27017"
+# Timeout 1000
+# StoreRates false
+# Database "auth_db"
+# User "auth_user"
+# Password "auth_passwd"
+# </Node>
+#</Plugin>
+
#<Plugin write_prometheus>
# Port "9103"
#</Plugin>
diff --git a/debian/control b/debian/control
index f5d728aaeec7ae9009500f3d21220efa5a01fa53..0ff43deaa6c97156d3163ab8f7ba6d0a05eddba2 100644 (file)
--- a/debian/control
+++ b/debian/control
libmemcached-dev,
libmicrohttpd-dev,
libmodbus-dev,
+ libmongoc-dev,
libmosquitto-dev,
libmnl-dev [linux-any],
libnotify-dev,
* send collected values to a web-server: write_http
* send collected values to an Apache Kafka message broker: write_kafka
* send collected values to the logging subsystem: write_log
+ * send collected values to MongoDB, a NoSQL database: write_mongodb
* publish collected values as a Prometheus exporter: write_prometheus
* send collected values to a Redis server: write_redis
* send collected values to a Riemann server: write_riemann
diff --git a/debian/rules b/debian/rules
index e4df1c87989ea0e520ae9c98878692707eb8ad8c..4be1b6c3c177c3af169aedfdd3203951f2d1aa8a 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
# librouteros is required for the routeros plugin.
confflags += --disable-routeros
-# libmongoc is required for the write_mongodb plugin.
-confflags += --disable-write_mongodb
-
# xmms1 is required for the xmms plugin.
confflags += --disable-xmms