summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 77a6936)
raw | patch | inline | side by side (parent: 77a6936)
author | Florian Forster <octo@collectd.org> | |
Sun, 7 Apr 2013 17:26:13 +0000 (19:26 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 7 Apr 2013 17:26:13 +0000 (19:26 +0200) |
Additional fix for Github issue #288.
src/netapp.c | patch | blob | history |
diff --git a/src/netapp.c b/src/netapp.c
index ac595c2bcb35f8875fff280f26eba07e3f90c4f6..f446d597de1f27610b0be1c7e2cfde8957509a79 100644 (file)
--- a/src/netapp.c
+++ b/src/netapp.c
value *= 1024; /* disk-used reports kilobytes */
submit_double (host->name, plugin_instance,
/* type = */ "df_complex", /* type instance = */ NULL,
- (double)value, /* timestamp = */ 0, host->interval);
+ (double)value, /* timestamp = */ 0,
+ host->cfg_quota->interval.interval);
}
value = na_child_get_uint64 (elem_quota, "files-used", UINT64_MAX);
if (value != UINT64_MAX) {
submit_double (host->name, plugin_instance,
/* type = */ "files", /* type instance = */ NULL,
- (double)value, /* timestamp = */ 0, host->interval);
+ (double)value, /* timestamp = */ 0,
+ host->cfg_quota->interval.interval);
}
} /* for (elem_quota) */
return (-1);
}
- cna_handle_snapvault_data (host->name, host->cfg_snapvault, elem, host->interval);
+ cna_handle_snapvault_data (host->name, host->cfg_snapvault, elem,
+ host->cfg_snapvault->interval.interval);
na_elem_free (elem);
}