Code

Merge commit 'octo/st/netapp' into st/netapp
authorSven Trenkel <collectd@semidefinite.de>
Mon, 28 Sep 2009 11:57:46 +0000 (13:57 +0200)
committerSven Trenkel <collectd@semidefinite.de>
Mon, 28 Sep 2009 11:57:46 +0000 (13:57 +0200)
1  2 
src/netapp.c

diff --cc src/netapp.c
index 446f8bf6f1c2ad37cfe2b6ac0635e60834232777,613fa656b6348f0c748e60927ba35ecc976bfc76..e247e83155d8b1592d7691cb4969a759583bc5e7
@@@ -1523,12 -1689,7 +1704,9 @@@ static int cna_init(void) { /* {{{ *
                        } else if (service->handler == query_volume_perf_data) {
                                service->query = na_elem_new("perf-object-get-instances");
                                na_child_add_string(service->query, "objectname", "volume");
- /*                            e = na_elem_new("instances");
-                               na_child_add_string(e, "foo", "system");
-                               na_child_add(root, e);*/
                                e = na_elem_new("counters");
 +                              /* "foo" means: This string has to be here but
 +                                 the content doesn't matter. */
                                na_child_add_string(e, "foo", "read_ops");
                                na_child_add_string(e, "foo", "write_ops");
                                na_child_add_string(e, "foo", "read_data");