Merge branch 'collectd-4.0' into collectd-4.1
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 12 Oct 2007 16:33:59 +0000 (18:33 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 12 Oct 2007 16:33:59 +0000 (18:33 +0200)
Conflicts:

src/rrdtool.c

1  2 
src/collectd.conf.pod
src/network.c
src/processes.c
src/rrdtool.c
src/unixsock.c

Simple merge
diff --cc src/network.c
@@@ -1100,20 -1092,8 +1099,18 @@@ static int add_to_buffer (char *buffer
                                        (uint64_t) vl->time))
                        return (-1);
                vl_def->time = vl->time;
-               DEBUG ("network plugin: add_to_buffer: time = %u",
-                               (unsigned int) vl->time);
        }
  
 +      if (vl_def->interval != vl->interval)
 +      {
 +              if (write_part_number (&buffer, &buffer_size, TYPE_INTERVAL,
 +                                      (uint64_t) vl->interval))
 +                      return (-1);
 +              vl_def->interval = vl->interval;
 +              DEBUG ("network plugin: add_to_buffer: interval = %i",
 +                              (int) vl->interval);
 +      }
 +
        if (strcmp (vl_def->plugin, vl->plugin) != 0)
        {
                if (write_part_string (&buffer, &buffer_size, TYPE_PLUGIN,
diff --cc src/processes.c
Simple merge
diff --cc src/rrdtool.c
@@@ -714,7 -591,10 +714,7 @@@ static void rrd_cache_flush (int timeou
        avl_iterator_t *iter;
        int i;
  
-       DEBUG ("Flushing cache, timeout = %i", timeout);
 -      if (cache == NULL)
 -              return;
 -
+       DEBUG ("rrdtool plugin: Flushing cache, timeout = %i", timeout);
  
        now = time (NULL);
  
diff --cc src/unixsock.c
Simple merge