(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(TCPCollector, self).get_default_config()
        config.update({
            'path': 'tcp',
            'allowed_names':
                'ListenOverflows, ListenDrops, TCPLoss, ' +
                'TCPTimeouts, TCPFastRetrans, TCPLostRetransmit, ' +
                'TCPForwardRetrans, TCPSlowStartRetrans, CurrEstab, ' +
                'TCPAbortOnMemory, TCPBacklogDrop, AttemptFails, ' +
                'EstabResets, InErrs, ActiveOpens, PassiveOpens',
            'gauges': 'CurrEstab, MaxConn',
        })
        return config
def get_default_config ( self ) : config = super ( TCPCollector , self ) . get_default_config ( ) config . update ( { 'path' : 'tcp' , 'allowed_names' : 'ListenOverflows, ListenDrops, TCPLoss, ' + 'TCPTimeouts, TCPFastRetrans, TCPLostRetransmit, ' + 'TCPForwardRetrans, TCPSlowStartRetrans, CurrEstab, ' + 'TCPAbortOnMemory, TCPBacklogDrop, AttemptFails, ' + 'EstabResets, InErrs, ActiveOpens, PassiveOpens' , 'gauges' : 'CurrEstab, MaxConn' , } ) return config