From: Florian Forster Date: Wed, 23 Sep 2009 16:56:31 +0000 (+0200) Subject: Merge commit 'remotes/trenkel/st/netapp' into st/netapp X-Git-Tag: collectd-4.9.0~73^2~53 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=72bd63b43827d5f1bbc4ed4d7b3f8072704bf855;p=collectd.git Merge commit 'remotes/trenkel/st/netapp' into st/netapp --- 72bd63b43827d5f1bbc4ed4d7b3f8072704bf855 diff --cc src/netapp.c index 202981dc,a07424b8..cbba8d6c --- a/src/netapp.c +++ b/src/netapp.c @@@ -328,23 -324,23 +328,23 @@@ static void collect_perf_wafl_data(host name = na_child_get_string(counter, "name"); if (!strcmp(name, "name_cache_hit")) - name_cache_hit = na_child_get_uint64(counter, "value", 0); + name_cache_hit = na_child_get_uint64(counter, "value", UINT64_MAX); else if (!strcmp(name, "name_cache_miss")) - name_cache_miss = na_child_get_uint64(counter, "value", 0); + name_cache_miss = na_child_get_uint64(counter, "value", UINT64_MAX); else if (!strcmp(name, "find_dir_hit")) - find_dir_hit = na_child_get_uint64(counter, "value", 0); + find_dir_hit = na_child_get_uint64(counter, "value", UINT64_MAX); else if (!strcmp(name, "find_dir_miss")) - find_dir_miss = na_child_get_uint64(counter, "value", 0); + find_dir_miss = na_child_get_uint64(counter, "value", UINT64_MAX); else if (!strcmp(name, "buf_hash_hit")) - buf_hash_hit = na_child_get_uint64(counter, "value", 0); + buf_hash_hit = na_child_get_uint64(counter, "value", UINT64_MAX); else if (!strcmp(name, "buf_hash_miss")) - buf_hash_miss = na_child_get_uint64(counter, "value", 0); + buf_hash_miss = na_child_get_uint64(counter, "value", UINT64_MAX); else if (!strcmp(name, "inode_cache_hit")) - inode_cache_hit = na_child_get_uint64(counter, "value", 0); + inode_cache_hit = na_child_get_uint64(counter, "value", UINT64_MAX); else if (!strcmp(name, "inode_cache_miss")) - inode_cache_miss = na_child_get_uint64(counter, "value", 0); + inode_cache_miss = na_child_get_uint64(counter, "value", UINT64_MAX); else - INFO ("netapp plugin: Found unexpected child: %s", name); + DEBUG("netapp plugin: Found unexpected child: %s", name); } /* Submit requested counters */