Merge branch 'ff/tail'
authorFlorian Forster <octo@huhu.verplant.org>
Sun, 24 Feb 2008 14:43:14 +0000 (15:43 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Sun, 24 Feb 2008 14:43:14 +0000 (15:43 +0100)
1  2 
README
configure.in

diff --combined README
--- 1/README
--- 2/README
+++ b/README
@@@ -84,6 -84,9 +84,6 @@@ Feature
      - libvirt
        CPU, disk and network I/O statistics from virtual machines.
  
 -    - libxml2
 -      Parse XML data provided by libvirt.
 -
      - mbmon
        Motherboard sensors: temperature, fanspeed and voltage information,
        using mbmon(1).
      - swap
        Pages swapped out onto harddisk or whatever is called `swap' by the OS..
  
+     - tail
+       Follows (tails) logfiles, parses them by lines and submits matched
+       values.
      - tape
        Bytes and operations read and written on tape devices. Solaris only.
  
@@@ -362,9 -369,6 +366,9 @@@ Prerequisite
    * libvirt (optional)
      Collect statistics from virtual machines.
  
 +  * libxml2 (optional)
 +    Parse XML data provided by libvirt.
 +
  
  Configuring / Compiling / Installing
  ------------------------------------
diff --combined configure.in
@@@ -372,7 -372,8 +372,7 @@@ AC_CHECK_FUNCS(gettimeofday select strd
  
  AC_FUNC_STRERROR_R
  
 -AC_CHECK_FUNCS(getpwnam_r)
 -AC_CHECK_FUNCS(getgrnam_r)
 +AC_CHECK_FUNCS(getpwnam_r getgrnam_r setgroups regcomp regerror regexec regfree)
  
  socket_needs_socket="no"
  AC_CHECK_FUNCS(socket, [], AC_CHECK_LIB(socket, socket, [socket_needs_socket="yes"], AC_MSG_ERROR(cannot find socket)))
@@@ -382,6 -383,8 +382,6 @@@ nanosleep_needs_rt="no
  AC_CHECK_FUNCS(nanosleep, [], AC_CHECK_LIB(rt, nanosleep, [nanosleep_needs_rt="yes"], AC_MSG_ERROR(cannot find nanosleep)))
  AM_CONDITIONAL(BUILD_WITH_LIBRT, test "x$nanosleep_needs_rt" = "xyes")
  
 -AC_CHECK_FUNCS(regcomp regerror regexec regfree)
 -
  AC_CHECK_FUNCS(sysctlbyname, [have_sysctlbyname="yes"], [have_sysctlbyname="no"])
  AC_CHECK_FUNCS(host_statistics, [have_host_statistics="yes"], [have_host_statistics="no"])
  AC_CHECK_FUNCS(processor_info, [have_processor_info="yes"], [have_processor_info="no"])
@@@ -2072,6 -2075,7 +2072,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])