From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5108CC433EF for ; Wed, 13 Oct 2021 18:12:40 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 12197610CF for ; Wed, 13 Oct 2021 18:12:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 12197610CF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=mind.be Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=buildroot.org Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id C676C40155; Wed, 13 Oct 2021 18:12:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9N6dUy1dkOv7; Wed, 13 Oct 2021 18:12:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id C30CA4021F; Wed, 13 Oct 2021 18:12:37 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7BC641BF38C for ; Wed, 13 Oct 2021 18:12:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 6BB4A83131 for ; Wed, 13 Oct 2021 18:12:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rDGM2_l8kG0N for ; Wed, 13 Oct 2021 18:12:23 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp1.osuosl.org (Postfix) with ESMTP id AA84A83077 for ; Wed, 13 Oct 2021 18:12:23 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 4052) id 191539557D; Wed, 13 Oct 2021 18:09:31 +0000 (UTC) From: Arnout Vandecappelle (Essensium/Mind) To: buildroot@buildroot.org Date: Wed, 13 Oct 2021 20:08:07 +0200 X-Git-Refname: refs/heads/master X-Git-Oldrev: ddc6f1199a1b53af60698c2f01ef2e47a17463a7 X-Git-Newrev: bb6b1c99ce4650f728c91371a61835bf8d534644 X-Patchwork-Hint: ignore Message-Id: <20211013180931.191539557D@busybox.osuosl.org> Subject: [Buildroot] [git commit] package/collectd: add dbi support X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" commit: https://git.buildroot.net/buildroot/commit/?id=bb6b1c99ce4650f728c91371a61835bf8d534644 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master The DBI plugin uses libdbi, a database abstraction library, to execute SQL statements on a database and read back the result. https://collectd.org/wiki/index.php/Plugin:DBI Based on initial work from Nicolas Carrier Signed-off-by: Herve Codina Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/collectd/Config.in | 7 +++++++ package/collectd/collectd.mk | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/package/collectd/Config.in b/package/collectd/Config.in index 82c24fdbc3..d44d4e4913 100644 --- a/package/collectd/Config.in +++ b/package/collectd/Config.in @@ -212,6 +212,13 @@ config BR2_PACKAGE_COLLECTD_CURL_XML help Reads files using libcurl and parses it as XML. +config BR2_PACKAGE_COLLECTD_DBI + bool "dbi" + select BR2_PACKAGE_LIBDBI + help + Executes SQL statements on various databases and + interprets the returned data. + config BR2_PACKAGE_COLLECTD_DF bool "df" help diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk index 9bfbc784ab..d01058471d 100644 --- a/package/collectd/collectd.mk +++ b/package/collectd/collectd.mk @@ -17,7 +17,7 @@ COLLECTD_SELINUX_MODULES = apache collectd # These require unmet dependencies, are fringe, pointless or deprecated COLLECTD_PLUGINS_DISABLE = \ - apple_sensors aquaero ascent barometer dbi dpdkstat email \ + apple_sensors aquaero ascent barometer dpdkstat email \ gmond hddtemp intel_rdt ipmi java lpar \ madwifi mbmon mic multimeter netapp notify_desktop numa \ oracle perl pf pinba powerdns python routeros \ @@ -67,6 +67,7 @@ COLLECTD_CONF_OPTS += \ $(if $(BR2_PACKAGE_COLLECTD_CURL),--enable-curl,--disable-curl) \ $(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),--enable-curl_json,--disable-curl_json) \ $(if $(BR2_PACKAGE_COLLECTD_CURL_XML),--enable-curl_xml,--disable-curl_xml) \ + $(if $(BR2_PACKAGE_COLLECTD_DBI),--enable-dbi,--disable-dbi) \ $(if $(BR2_PACKAGE_COLLECTD_DF),--enable-df,--disable-df) \ $(if $(BR2_PACKAGE_COLLECTD_DISK),--enable-disk,--disable-disk) \ $(if $(BR2_PACKAGE_COLLECTD_DNS),--enable-dns,--disable-dns) \ @@ -168,6 +169,7 @@ COLLECTD_DEPENDENCIES = \ $(if $(BR2_PACKAGE_COLLECTD_CURL),libcurl) \ $(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),libcurl yajl) \ $(if $(BR2_PACKAGE_COLLECTD_CURL_XML),libcurl libxml2) \ + $(if $(BR2_PACKAGE_COLLECTD_DBI),libdbi) \ $(if $(BR2_PACKAGE_COLLECTD_DNS),libpcap) \ $(if $(BR2_PACKAGE_COLLECTD_DPDK_TELEMETRY),jansson) \ $(if $(BR2_PACKAGE_COLLECTD_GPS),gpsd) \ _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot