You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35_oneflow.srv 527B

1234567891011121314
  1. # -*- coding: UTF-8 -*-
  2. """
  3. Surveillance des services OpenNebula
  4. """
  5. from zephir.monitor.agents.services import TCPServices
  6. from zephir.monitor.agentmanager.config import (ACTIVER_ONEFLOW,
  7. IP_ONEFLOW,
  8. PORT_ONEFLOW)
  9. if ACTIVER_ONEFLOW:
  10. test = '{}:{}'.format(IP_ONEFLOW, PORT_ONEFLOW)
  11. AGENTS.append(TCPServices('oneflow', {test: "oneFlow"}, period=115,
  12. description="Etat du serveur oneFlow"))