(self)
return config
Returns the default collector settings
Returns the default collector settings
Returns the default collector settings
def get_default_config(self):
        """
        Returns the default collector settings
        """
        config = super(DiskSpaceCollector, self).get_default_config()
        config.update({
            'path': 'diskspace',
            # filesystems to examine
            'filesystems': 'ext2, ext3, ext4, xfs, glusterfs, nfs, nfs4, ' +
                           ' ntfs, hfs, fat32, fat16, btrfs',

            # exclude_filters
            #   A list of regex patterns
            #   A filesystem matching any of these patterns will be excluded
            #   from disk space metrics collection.
            #
            # Examples:
            #       exclude_filters =,
            # no exclude filters at all
            #       exclude_filters = ^/boot, ^/mnt
            # exclude everything that begins /boot or /mnt
            #       exclude_filters = m,
            # exclude everything that includes the letter "m"
            'exclude_filters': ['^/export/home'],

            # Default numeric output
            'byte_unit': ['byte']
        })
        return config
def get_default_config ( self ) : config = super ( DiskSpaceCollector , self ) . get_default_config ( ) config . update ( { 'path' : 'diskspace' , # filesystems to examine 'filesystems' : 'ext2, ext3, ext4, xfs, glusterfs, nfs, nfs4, ' + ' ntfs, hfs, fat32, fat16, btrfs' , # exclude_filters #   A list of regex patterns #   A filesystem matching any of these patterns will be excluded #   from disk space metrics collection. # # Examples: #       exclude_filters =, # no exclude filters at all #       exclude_filters = ^/boot, ^/mnt # exclude everything that begins /boot or /mnt #       exclude_filters = m, # exclude everything that includes the letter "m" 'exclude_filters' : [ '^/export/home' ] , # Default numeric output 'byte_unit' : [ 'byte' ] } ) return config