projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9fa8d9
)
netapp plugin: Set the HAVE_VOLUME_USAGE_SIS_SAVED after determining the value.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Tue, 29 Sep 2009 13:53:12 +0000
(15:53 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Tue, 29 Sep 2009 13:53:12 +0000
(15:53 +0200)
src/netapp.c
patch
|
blob
|
history
diff --git
a/src/netapp.c
b/src/netapp.c
index
57fb59d
..
1e0834b
100644
(file)
--- a/
src/netapp.c
+++ b/
src/netapp.c
@@
-1293,6
+1293,7
@@
static int cna_handle_volume_usage_data (const char *hostname, /* {{{ */
if ((sis_saved_reported >> 32) != 0) {
/* In case they ever fix this bug. */
v->sis_saved = sis_saved_reported;
+ v->flags |= HAVE_VOLUME_USAGE_SIS_SAVED;
} else { /* really hacky work-around code. {{{ */
uint64_t sis_saved_percent;
uint64_t sis_saved_guess;
@@
-1336,6
+1337,7
@@
static int cna_handle_volume_usage_data (const char *hostname, /* {{{ */
else
v->sis_saved = guess3;
}
+ v->flags |= HAVE_VOLUME_USAGE_SIS_SAVED;
} /* }}} end of 32-bit workaround */
} /* for (elem_volume) */