author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 12 Oct 2007 16:33:59 +0000 (18:33 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 12 Oct 2007 16:33:59 +0000 (18:33 +0200) |
Conflicts:
src/rrdtool.c
src/rrdtool.c
1 | 2 | |||
---|---|---|---|---|
src/collectd.conf.pod | patch | | diff1 | | diff2 | | blob | history |
src/network.c | patch | | diff1 | | diff2 | | blob | history |
src/processes.c | patch | | diff1 | | diff2 | | blob | history |
src/rrdtool.c | patch | | diff1 | | diff2 | | blob | history |
src/unixsock.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc src/collectd.conf.pod
Simple merge
diff --cc src/network.c
index b0f8303f552a37e16c06ebd2b147bb87a90f8a49,164759b6d5cf8d29fe3422d2eb8f07490ced627d..c81d7110664da7d5217d07cc4e3076fc55eec640
--- 1/src/network.c
--- 2/src/network.c
+++ b/src/network.c
(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
index 7002dcfbd61050616d9e308def88ff48b67895f3,8ad010696f4812bd6b0e8612603b48b21e96350f..77d8716619dfd32df737853dd9f1865ee55c76ad
--- 1/src/rrdtool.c
--- 2/src/rrdtool.c
+++ b/src/rrdtool.c
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