(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(ConnTrackCollector, self).get_default_config()
        config.update({
            "path":  "conntrack",
            "dir":   "/proc/sys/net/ipv4/netfilter,/proc/sys/net/netfilter",
            "files": "ip_conntrack_count,ip_conntrack_max,"
                     "nf_conntrack_count,nf_conntrack_max",
        })
        return config
def get_default_config ( self ) : config = super ( ConnTrackCollector , self ) . get_default_config ( ) config . update ( { "path" : "conntrack" , "dir" : "/proc/sys/net/ipv4/netfilter,/proc/sys/net/netfilter" , "files" : "ip_conntrack_count,ip_conntrack_max," "nf_conntrack_count,nf_conntrack_max" , } ) return config