netapp: Fixed incompatible changes between NetApp Release 7.2 and 7.3 that prevented...
authorSven Trenkel <collectd@semidefinite.de>
Thu, 25 Nov 2010 09:56:30 +0000 (10:56 +0100)
committerSven Trenkel <collectd@semidefinite.de>
Thu, 25 Nov 2010 09:56:30 +0000 (10:56 +0100)
src/netapp.c

index 1615c49..87f6cbd 100644 (file)
@@ -1590,6 +1590,9 @@ static int cna_handle_volume_usage_data (const host_config_t *host, /* {{{ */
                if (sis == NULL)
                        continue;
 
+               if (na_elem_child(sis, "sis-info"))
+                       sis = na_elem_child(sis, "sis-info");
+               
                sis_state = na_child_get_string(sis, "state");
                if (sis_state == NULL)
                        continue;