示例#1
0
    def __init__(self):
        ComponentBase.__init__(self, 'hoststats')

        self.poll_period  = self.metadata.get('pollPeriod', 5)
        self.flush_period = self.metadata.get('flushPeriod', None)

        if self.flush_period is None or self.flush_period < self.poll_period:
            self.flush_period = self.poll_period

        self.resdata = []
        self.monitor = False

        self.execute_stage()
示例#2
0
    def __init__(self):
        ComponentBase.__init__(self, 'trafficgen')

        self.execute_stage()
示例#3
0
    def __init__(self):
        ComponentBase.__init__(self, 'vmstats')

        self.execute_stage()
示例#4
0
    def __init__(self):
        ComponentBase.__init__(self, 'tcpdump')

        self.execute_stage()
示例#5
0
    def __init__(self):
        ComponentBase.__init__(self, 'ettercap')

        self.execute_stage()
示例#6
0
    def __init__(self):
        ComponentBase.__init__(self, 'snort')

        self.execute_stage()