From bae4500a00862d00ce98e25d79cad35db29249e1 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 4 Aug 2015 11:21:19 +0200 Subject: [PATCH] fhcount: this plugin only works on Linux --- configure.ac | 4 +++- src/collectd.conf.pod | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 5d5e693c..998001c0 100644 --- a/configure.ac +++ b/configure.ac @@ -5215,6 +5215,7 @@ plugin_disk="no" plugin_drbd="no" plugin_entropy="no" plugin_ethstat="no" +plugin_fhcount="no" plugin_fscache="no" plugin_interface="no" plugin_ipmi="no" @@ -5257,6 +5258,7 @@ then plugin_disk="yes" plugin_drbd="yes" plugin_entropy="yes" + plugin_fhcount="yes" plugin_fscache="yes" plugin_interface="yes" plugin_ipc="yes" @@ -5600,7 +5602,7 @@ AC_PLUGIN([email], [yes], [EMail statistics]) AC_PLUGIN([entropy], [$plugin_entropy], [Entropy statistics]) AC_PLUGIN([ethstat], [$plugin_ethstat], [Stats from NIC driver]) AC_PLUGIN([exec], [yes], [Execution of external programs]) -AC_PLUGIN([fhcount], [yes], [File handles statistics]) +AC_PLUGIN([fhcount], [$plugin_fhcount], [File handles statistics]) AC_PLUGIN([filecount], [yes], [Count files in directories]) AC_PLUGIN([fscache], [$plugin_fscache], [fscache statistics]) AC_PLUGIN([gmond], [$with_libganglia], [Ganglia plugin]) diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 9bb348f7..ba213655 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -2267,7 +2267,7 @@ expected from them. This is documented in great detail in L. =head2 Plugin C The C plugin provides statistics about used, unused and total number of -file handles. +file handles on Linux. The I provides the following configuration options: -- 2.11.0