(self, device, ip, user, password)
Collects metrics for our netapp filer --START HERE--
Collects metrics for our netapp filer --START HERE--
Collects metrics for our netapp filer -- START HERE --
def collect(self, device, ip, user, password):
        """ Collects metrics for our netapp filer --START HERE--

        """

        if netappsdk is None:
            self.log.error(
                'Failed to import netappsdk.NaServer or netappsdk.NaElement')
            return

        if device in self.running:
            return

        self.running.add(device)
        prefix = self.config['path_prefix']
        pm = self.publish_metric

        netapp_inodeCol(device, ip, user, password, prefix, pm)
        self.running.remove(device)
def collect ( self , device , ip , user , password ) : if netappsdk is None : self . log . error ( 'Failed to import netappsdk.NaServer or netappsdk.NaElement' ) return if device in self . running : return self . running . add ( device ) prefix = self . config [ 'path_prefix' ] pm = self . publish_metric netapp_inodeCol ( device , ip , user , password , prefix , pm ) self . running . remove ( device )