mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Subject: [ptxdist] [PATCH] collectd: add exec plugin
Date: Tue,  6 Jun 2017 16:36:27 +0200	[thread overview]
Message-ID: <20170606143643.23028-3-clemens.gruber@pqgruber.com> (raw)
In-Reply-To: <20170606143643.23028-1-clemens.gruber@pqgruber.com>

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
 projectroot/etc/collectd.d/exec.conf |  3 +++
 rules/collectd.in                    | 10 +++++++++-
 rules/collectd.make                  |  2 +-
 3 files changed, 13 insertions(+), 2 deletions(-)
 create mode 100644 projectroot/etc/collectd.d/exec.conf

diff --git a/projectroot/etc/collectd.d/exec.conf b/projectroot/etc/collectd.d/exec.conf
new file mode 100644
index 000000000..f8f1f2d5a
--- /dev/null
+++ b/projectroot/etc/collectd.d/exec.conf
@@ -0,0 +1,3 @@
+<Plugin exec>
+# This is a generic plugin. Please read the collectd manual.
+</Plugin>
diff --git a/rules/collectd.in b/rules/collectd.in
index 015e4b6fe..04e7499e4 100644
--- a/rules/collectd.in
+++ b/rules/collectd.in
@@ -67,11 +67,19 @@ config COLLECTD_PING
 	  to the configured hosts periodically and measures the network
 	  latency.
 
-
 config COLLECTD_SENSORS
 	bool
 	prompt "sensors"
 	help
 	  The Sensors plugin uses lm-sensors to read hardware sensors.
 
+comment "Other Plugins"
+
+config COLLECTD_EXEC
+	bool
+	prompt "exec"
+	help
+	  The Exec plugin executes scripts and reads values back that are
+	  printed to stdout using the collectd plain text protocol.
+
 endif
diff --git a/rules/collectd.make b/rules/collectd.make
index 7c5ee0772..f8b6dac23 100644
--- a/rules/collectd.make
+++ b/rules/collectd.make
@@ -86,7 +86,7 @@ COLLECTD_ENABLE-				+= drbd
 COLLECTD_ENABLE-				+= email
 COLLECTD_ENABLE-				+= entropy
 COLLECTD_ENABLE-				+= ethstat
-COLLECTD_ENABLE-				+= exec
+COLLECTD_ENABLE-$(PTXCONF_COLLECTD_EXEC)	+= exec
 COLLECTD_ENABLE-				+= fhcount
 COLLECTD_ENABLE-				+= filecount
 COLLECTD_ENABLE-				+= fscache
-- 
2.13.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2017-06-06 14:36 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-06 14:36 [ptxdist] [PATCH] alsa-lib: version bump 1.0.29 -> 1.1.4.1 Clemens Gruber
2017-06-06 14:36 ` [ptxdist] [PATCH] cairo: version bump 1.12.18 -> 1.14.8 Clemens Gruber
2017-06-06 14:36 ` Clemens Gruber [this message]
2017-06-06 14:36 ` [ptxdist] [PATCH] coreutils: version bump 8.25 -> 8.27 Clemens Gruber
2017-06-06 14:36 ` [ptxdist] [PATCH] fontconfig: version bump 2.11.1 -> 2.12.3 Clemens Gruber
2017-06-06 14:36 ` [ptxdist] [PATCH] freetype: version bump 2.6.3 -> 2.8 Clemens Gruber
2017-06-07  9:21   ` Roland Hieber
2017-06-07 10:35     ` Michael Olbrich
2017-06-07 12:46       ` Clemens Gruber
2017-06-08 16:29         ` Michael Olbrich
2017-06-19 12:12   ` Michael Olbrich
2017-06-19 12:26     ` Michael Olbrich
2017-06-06 14:36 ` [ptxdist] [PATCH] latrace: improve configure options Clemens Gruber
2017-06-06 14:36 ` [ptxdist] [PATCH] libelf: version bump 0.168 -> 0.169 Clemens Gruber
2017-06-06 14:36 ` [ptxdist] [PATCH] libevent: version bump 2.0.21 -> 2.1.8 Clemens Gruber
2017-06-06 14:36 ` [ptxdist] [PATCH] libgcrypt: version bump 1.7.6 -> 1.7.7 Clemens Gruber
2017-06-06 14:36 ` [ptxdist] [PATCH] libpng: version bump 1.2.54 -> 1.6.29 Clemens Gruber
2017-06-19 12:11   ` Michael Olbrich
2017-06-06 14:36 ` [ptxdist] [PATCH] mpg123: version bump 1.23.8 -> 1.25.0 Clemens Gruber
2017-06-06 14:36 ` [ptxdist] [PATCH] nano: version bump 2.3.1 -> 2.8.4 Clemens Gruber
2017-06-06 14:36 ` [ptxdist] [PATCH] nginx: add -Wno-error to fix build with GCC 7.1 Clemens Gruber
2017-06-06 14:36 ` [ptxdist] [PATCH] pango: version bump 1.29.4 -> 1.40.6 Clemens Gruber
2017-06-26 10:18   ` Michael Olbrich
2017-06-26 19:29     ` Clemens Gruber
2017-06-06 14:36 ` [ptxdist] [PATCH] rrdtool: version bump 1.6.0 -> 1.7.0 Clemens Gruber
2017-06-06 14:36 ` [ptxdist] [PATCH] systemd: backport fix for nss-resolve fallback Clemens Gruber
2017-06-06 14:36 ` [ptxdist] [PATCH] tmux: version bump 2.3 -> 2.5 Clemens Gruber
2017-06-06 14:36 ` [ptxdist] [PATCH] u-boot-tools: version bump 2016.11 -> 2017.05 Clemens Gruber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170606143643.23028-3-clemens.gruber@pqgruber.com \
    --to=clemens.gruber@pqgruber.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox