Blame view

src/monitoring/apps.py 235 Bytes
3df2d31a   haribo   #3430 : dates are...
1
2
3
4
5
from django.apps import AppConfig


class MonitoringConfig(AppConfig):
    name = 'monitoring'
8e4ab234   haribo   #3485: Creation a...
6
7
8
9
10

    def ready(self):
        from monitoring.agent import MonitoringAgent
        self.agent = MonitoringAgent()
        self.agent.start()