#NEWLINE# def collect( self , device , ip , user , password ) : #NEWLINE# #INDENT# ' Collects metrics for our netapp filer --START HERE--\n\n        ' #NEWLINE# if ( netappsdk is None ) : #NEWLINE# #INDENT# self . log . error ( 'Failed to import netappsdk.NaServer or netappsdk.NaElement' ) #NEWLINE# return #NEWLINE# #UNINDENT# if ( device in self . running ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . running . add ( device ) #NEWLINE# prefix = self . config [ 'path_prefix' ] #NEWLINE# pm = self . publish_metric #NEWLINE# netapp_inodeCol ( device , ip , prefix , password , prefix , pm ) #NEWLINE# self . running . remove ( device )