projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf5f67a
)
Don't try to graph operations that aren't licensed
author
Sven Trenkel
<collectd@semidefinite.de>
Sat, 26 Sep 2009 01:27:41 +0000
(
03:27
+0200)
committer
Sven Trenkel
<collectd@semidefinite.de>
Sat, 26 Sep 2009 01:27:41 +0000
(
03:27
+0200)
on this filer.
src/netapp.c
patch
|
blob
|
history
diff --git
a/src/netapp.c
b/src/netapp.c
index
87b8850
..
bce92ea
100644
(file)
--- a/
src/netapp.c
+++ b/
src/netapp.c
@@
-1005,7
+1005,7
@@
static void collect_perf_system_data(host_config_t *host, na_elem_t *out, void *
cpu_total = (counter_t) value;
counter_flags |= 0x20;
} else if ((cfg_system->flags & CFG_SYSTEM_OPS)
- && (strlen(name) > 4)
+ && (
value > 0) && (
strlen(name) > 4)
&& (!strcmp(name + strlen(name) - 4, "_ops"))) {
submit_counter (host->name, instance, "disk_ops_complex", name,
(counter_t) value, timestamp);