eole-one-master/zephir/srv/33_sunstone.srv

13 lines
438 B
Plaintext
Raw Permalink Normal View History

# -*- coding: UTF-8 -*-
"""
Surveillance des services OpenNebula
"""
from zephir.monitor.agents.services import TCPServices
from zephir.monitor.agentmanager.config import (IP_SUNSTONE,
PORT_SUNSTONE)
test = '{}:{}'.format(IP_SUNSTONE, PORT_SUNSTONE)
AGENTS.append(TCPServices('sunstone', {test : "Sunstone"}, period=115,
description="Etat du serveur Sunstone"))