From: Sven Trenkel Date: Thu, 25 Nov 2010 09:56:30 +0000 (+0100) Subject: netapp: Fixed incompatible changes between NetApp Release 7.2 and 7.3 that prevented... X-Git-Tag: collectd-4.9.4~1^2 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=ab9fd6d9336a623b7feb73e284cbd072496de102 netapp: Fixed incompatible changes between NetApp Release 7.2 and 7.3 that prevented collecting SIS data --- diff --git a/src/netapp.c b/src/netapp.c index 1615c497..87f6cbd9 100644 --- a/src/netapp.c +++ b/src/netapp.c @@ -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;