AC_CHECK_HEADERS(utmp.h)
AC_CHECK_HEADERS(utmpx.h)
-# For traffic plugin
+# For interface plugin
AC_CHECK_HEADERS(ifaddrs.h)
AC_CHECK_HEADERS(net/if.h, [], [],
[
AC_CHECK_FUNCS(quotactl)
AC_CHECK_FUNCS(getgrgid getpwuid)
-# For traffic module
+# For interface module
AC_CHECK_FUNCS(getifaddrs)
# Check for NAN
fi
AM_CONDITIONAL(BUILD_WITH_LIBIPTC, test "x$with_libiptc" = "xyes")
-# Define `step' and `hearbeat' values..
-declare -i collectd_step=10
-declare -i collectd_heartbeat=25
-AC_ARG_WITH(step, [AS_HELP_STRING([--with-step=SECONDS], [Interval in which plugins are queried.])],
-[
- if test "x$withval" != "xno" -a "x$withval" != "xyes"
- then
- declare -i tmp_collectd_step="$withval"
- if test $tmp_collectd_step -gt 0
- then
- collectd_step=$tmp_collectd_step
- let "collectd_heartbeat=$collectd_step*2"
- fi
- fi
-], [])
-AC_ARG_WITH(heartbeat, [AS_HELP_STRING([--with-heartbeat=SECONDS], [Heartbeat of the DS in generated RRD files.])],
-[
- if test "x$withval" != "xno" -a "x$withval" != "xyes"
- then
- declare -i tmp_collectd_heartbeat="$withval"
- if test $tmp_collectd_heartbeat -gt 0
- then
- collectd_heartbeat=$tmp_collectd_heartbeat
- fi
- fi
-], [])
-
-if test $collectd_step -ne 10
-then
- AC_DEFINE_UNQUOTED(COLLECTD_STEP, "$collectd_step", [Interval in which plugins are queried.])
-fi
-if test $collectd_heartbeat -ne 25
-then
- AC_DEFINE_UNQUOTED(COLLECTD_HEARTBEAT, "$collectd_heartbeat", [Interval in which plugins are queried.])
-fi
-
# Check for enabled/disabled features
#
AC_COLLECTD([entropy], [disable], [module], [entropy statistics])
AC_COLLECTD([exec], [disable], [module], [exec of external programs])
AC_COLLECTD([hddtemp], [disable], [module], [hdd temperature statistics])
+AC_COLLECTD([interface], [disable], [module], [interface statistics])
AC_COLLECTD([iptables], [disable], [module], [IPtables statistics])
AC_COLLECTD([irq], [disable], [module], [irq statistics])
AC_COLLECTD([load], [disable], [module], [system load statistics])
AC_COLLECTD([processes], [disable], [module], [processes statistics])
AC_COLLECTD([sensors], [disable], [module], [lm_sensors statistics])
AC_COLLECTD([serial], [disable], [module], [serial statistics])
-AC_COLLECTD([stderr], [disable], [module], [stderr log facility])
+AC_COLLECTD([logfile], [disable], [module], [logfile log facility])
AC_COLLECTD([swap], [disable], [module], [swap statistics])
AC_COLLECTD([syslog], [disable], [module], [syslog log facility])
AC_COLLECTD([tape], [disable], [module], [tape statistics])
-AC_COLLECTD([traffic], [disable], [module], [system traffic statistics])
AC_COLLECTD([unixsock], [disable], [module], [UNIX socket plugin])
AC_COLLECTD([users], [disable], [module], [user count statistics])
AC_COLLECTD([vserver], [disable], [module], [vserver statistics])
Features:
debug . . . . . . . $enable_debug
daemon mode . . . . $enable_daemon
- step . . . . . . . $collectd_step seconds
- heartbeat . . . . . $collectd_heartbeat seconds
Modules:
apache . . . . . . $enable_apache
entropy . . . . . . $enable_entropy
exec . . . . . . . $enable_exec
hddtemp . . . . . . $enable_hddtemp
- irq . . . . . . . . $enable_irq
+ interface . . . . . $enable_interface
iptables . . . . . $enable_iptables
+ irq . . . . . . . . $enable_irq
load . . . . . . . $enable_load
+ logfile . . . . . . $enable_logfile
mbmon . . . . . . . $enable_mbmon
memory . . . . . . $enable_memory
multimeter . . . . $enable_multimeter
processes . . . . . $enable_processes
sensors . . . . . . $enable_sensors
serial . . . . . . $enable_serial
- stderr . . . . . . $enable_stderr
swap . . . . . . . $enable_swap
syslog . . . . . . $enable_syslog
tape . . . . . . . $enable_tape
- traffic . . . . . . $enable_traffic
unixsock . . . . . $enable_unixsock
users . . . . . . . $enable_users
vserver . . . . . . $enable_vserver