From: Florian Forster Date: Mon, 24 Mar 2008 12:36:17 +0000 (+0100) Subject: Merge branch 'collectd-4.3' X-Git-Tag: collectd-4.4.0~66^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ef493fef09db7227dcaedc2a3cae4a4a1ee4e1a9;hp=-c;p=collectd.git Merge branch 'collectd-4.3' --- ef493fef09db7227dcaedc2a3cae4a4a1ee4e1a9 diff --combined configure.in index e3662b76,952f5c5d..d53706df --- a/configure.in +++ b/configure.in @@@ -1042,8 -1042,6 +1042,6 @@@ AC_CHECK_LIB(IOKit, IOServiceGetMatchin AC_DEFINE_UNQUOTED(COLLECT_LIBIOKIT, [$collect_libiokit], [Wether or not to use the IOKit library]) AM_CONDITIONAL(BUILD_WITH_LIBIOKIT, test "x$with_libiokit" = "xyes") - with_libstatgrab="yes" - with_libdevstat="no" AC_ARG_WITH(libstatgrab, [AS_HELP_STRING([--with-libstatgrab@<:@=PREFIX@:>@], [Path to libstatgrab.])], [ if test "x$withval" != "xno" -a "x$withval" != "xyes" @@@ -2224,7 -2222,6 +2222,7 @@@ AC_PLUGIN([serial], [$plugin_seria AC_PLUGIN([snmp], [$with_libnetsnmp], [SNMP querying plugin]) AC_PLUGIN([swap], [$plugin_swap], [Swap usage statistics]) AC_PLUGIN([syslog], [$have_syslog], [Syslog logging plugin]) +AC_PLUGIN([tail], [yes], [Parsing of logfiles]) AC_PLUGIN([tape], [$plugin_tape], [Tape drive statistics]) AC_PLUGIN([tcpconns], [$plugin_tcpconns], [TCP connection statistics]) AC_PLUGIN([unixsock], [yes], [Unixsock communication plugin]) @@@ -2363,7 -2360,6 +2361,7 @@@ Configuration snmp . . . . . . . $enable_snmp swap . . . . . . . $enable_swap syslog . . . . . . $enable_syslog + tail . . . . . . . $enable_tail tape . . . . . . . $enable_tape tcpconns . . . . . $enable_tcpconns unixsock . . . . . $enable_unixsock diff --combined src/collectd-unixsock.pod index 13116bbb,23396256..2ae5163e --- a/src/collectd-unixsock.pod +++ b/src/collectd-unixsock.pod @@@ -58,10 -58,7 +58,10 @@@ command for the values that have change The first line's status number is the number of identifiers returned or less than zero if an error occurred. Each of the following lines contains the -update time as an epoch value and the identifier, separated by a space. +update time as an epoch value and the identifier, separated by a space. The +update time is the time of the last value, as provided by the collecting +instance and may be very different from the time the server consideres to be +"now". Example: -> | LISTVAL @@@ -86,12 -83,12 +86,12 @@@ plugin within collectd. I identif (i.Ee. data-set) passed to collectd. A large list of predefined data-sets is available in the B file. - The I is an optional list of I, where each option if a + The I is an optional list of I, where each option is a key-value-pair. A list of currently understood options can be found below, all other options will be ignored. I is a colon-separated list of the time and the values, each either - an integer if the data-source is a counter, of a double if the data-source if + an integer if the data-source is a counter, or a double if the data-source is of type "gauge". You can submit an undefined gauge-value by using B. When submitting B to a counter the behavior is undefined. The time is given as epoch (i.Ee. standard UNIX time). @@@ -177,18 -174,6 +177,18 @@@ Example -> | PUTNOTIF type=temperature severity=warning time=1201094702 message=The roof is on fire! <- | 0 Success +=item B [BI] [BI [...]] + +Flushes all cached data older than I seconds. If no timeout has been +specified, it defaults to -1 which causes all data to be flushed. + +If specified, only specific plugins are flushed. Otherwise all plugins +providing a flush callback are flushed. + +Example: + -> | FLUSH + <- | 0 Done + =back =head2 Identifiers