(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(IPVSCollector, self).get_default_config()
        config.update({
            'bin':              '/usr/sbin/ipvsadm',
            'use_sudo':         True,
            'sudo_cmd':         '/usr/bin/sudo',
            'path':             'ipvs'
        })
        return config
def get_default_config ( self ) : config = super ( IPVSCollector , self ) . get_default_config ( ) config . update ( { 'bin' : '/usr/sbin/ipvsadm' , 'use_sudo' : True , 'sudo_cmd' : '/usr/bin/sudo' , 'path' : 'ipvs' } ) return config