No Description

33_sunstone.srv 438B

123456789101112
  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 (IP_SUNSTONE,
  7. PORT_SUNSTONE)
  8. test = '{}:{}'.format(IP_SUNSTONE, PORT_SUNSTONE)
  9. AGENTS.append(TCPServices('sunstone', {test : "Sunstone"}, period=115,
  10. description="Etat du serveur Sunstone"))