summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ffac91)
raw | patch | inline | side by side (parent: 6ffac91)
author | octo <octo> | |
Tue, 21 Mar 2006 13:08:22 +0000 (13:08 +0000) | ||
committer | octo <octo> | |
Tue, 21 Mar 2006 13:08:22 +0000 (13:08 +0000) |
src/collectd.c | patch | blob | history |
diff --git a/src/collectd.c b/src/collectd.c
index 6513cd4997093107e1b9d9d971edcdd195beb161..5a17124e1daf1b0cc24fa9a38848727f1df4480c 100644 (file)
--- a/src/collectd.c
+++ b/src/collectd.c
#if HAVE_LIBKSTAT
update_kstat ();
#endif
+ /* `curtime' is used by many (all?) plugins as the
+ * data-sample-time passed to RRDTool */
+ curtime = time (NULL);
+
+ /* Issue all plugins */
plugin_read_all ();
if (gettimeofday (&tv_now, NULL) < 0)