Ejemplo n.º 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()
Ejemplo n.º 2
0
    def __init__(self):
        ComponentBase.__init__(self, 'trafficgen')

        self.execute_stage()
Ejemplo n.º 3
0
    def __init__(self):
        ComponentBase.__init__(self, 'vmstats')

        self.execute_stage()
Ejemplo n.º 4
0
    def __init__(self):
        ComponentBase.__init__(self, 'tcpdump')

        self.execute_stage()
Ejemplo n.º 5
0
    def __init__(self):
        ComponentBase.__init__(self, 'ettercap')

        self.execute_stage()
Ejemplo n.º 6
0
    def __init__(self):
        ComponentBase.__init__(self, 'snort')

        self.execute_stage()