(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(NtpCollector, self).get_default_config()
        config.update({
            'bin':      self.find_binary('/usr/sbin/ntpdate'),
            'ntp_pool': 'pool.ntp.org',
            'path':     'ntp',
            'precision': 0,
            'time_scale': 'milliseconds',
        })
        return config
def get_default_config ( self ) : config = super ( NtpCollector , self ) . get_default_config ( ) config . update ( { 'bin' : self . find_binary ( '/usr/sbin/ntpdate' ) , 'ntp_pool' : 'pool.ntp.org' , 'path' : 'ntp' , 'precision' : 0 , 'time_scale' : 'milliseconds' , } ) return config