(self, device, ip, user, password, parent)
Collectors our metrics for our netapp filer
Collectors our metrics for our netapp filer
Collectors our metrics for our netapp filer
def __init__(self, device, ip, user, password, parent):
        """ Collectors our metrics for our netapp filer
        """

        self.device = device
        self.ip = ip
        self.netapp_user = user
        self.netapp_password = password
        self.path_prefix = parent[0]
        self.publish_metric = parent[1]
        self.log = parent[2]
        self._netapp_login()

        # Grab our netapp XML
        disk_xml = self.get_netapp_elem(
            NaElement('disk-list-info'), 'disk-details')
        storage_disk_xml = self.get_netapp_elem(
            NaElement('storage-disk-get-iter'), 'attributes-list')

        # Our metric collection and publishing goes here
        self.zero_disk(disk_xml)
        self.spare_disk(disk_xml)
        self.maintenance_center(storage_disk_xml)
        self.consistency_point()
        self.agr_busy()
def __init__ ( self , device , ip , user , password , parent ) : self . device = device self . ip = ip self . netapp_user = user self . netapp_password = password self . path_prefix = parent [ 0 ] self . publish_metric = parent [ 1 ] self . log = parent [ 2 ] self . _netapp_login ( ) # Grab our netapp XML disk_xml = self . get_netapp_elem ( NaElement ( 'disk-list-info' ) , 'disk-details' ) storage_disk_xml = self . get_netapp_elem ( NaElement ( 'storage-disk-get-iter' ) , 'attributes-list' ) # Our metric collection and publishing goes here self . zero_disk ( disk_xml ) self . spare_disk ( disk_xml ) self . maintenance_center ( storage_disk_xml ) self . consistency_point ( ) self . agr_busy ( )