ajout des différents fichiers srv (ref #17290 @2h)
This commit is contained in:
parent
33209a8fae
commit
43cdf910f6
|
@ -0,0 +1,9 @@
|
|||
# -*- coding: UTF-8 -*-
|
||||
"""
|
||||
Surveillance des services OpenNebula
|
||||
"""
|
||||
|
||||
from zephir.monitor.agents.services import StatusService
|
||||
|
||||
AGENTS.append(StatusService('libvirt', {'libvirt-bin' : "Libvirt"}, period=115,
|
||||
description="Etat du serveur Libvirt"))
|
|
@ -0,0 +1,9 @@
|
|||
# -*- coding: UTF-8 -*-
|
||||
"""
|
||||
Surveillance des services OpenNebula
|
||||
"""
|
||||
|
||||
from zephir.monitor.agents.services import StatusService
|
||||
|
||||
AGENTS.append(StatusService('opennebula', {'opennebula' : "OpenNebula"}, period=115,
|
||||
description="Etat du serveur OpenNebula"))
|
|
@ -0,0 +1,9 @@
|
|||
# -*- coding: UTF-8 -*-
|
||||
"""
|
||||
Surveillance des services OpenNebula
|
||||
"""
|
||||
|
||||
from zephir.monitor.agents.services import TCPServices
|
||||
|
||||
AGENTS.append(TCPServices('xmlrpc', {'localhost:2633': "XMLRPC"}, period=115,
|
||||
description="Etat du serveur XMLRPC"))
|
|
@ -0,0 +1,12 @@
|
|||
# -*- 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"))
|
|
@ -0,0 +1,12 @@
|
|||
# -*- coding: UTF-8 -*-
|
||||
"""
|
||||
Surveillance des services OpenNebula
|
||||
"""
|
||||
|
||||
from zephir.monitor.agents.services import TCPServices
|
||||
from zephir.monitor.agentmanager.config import (IP_SUNSTONE,
|
||||
VNC_PROXY_PORT_SUNSTONE)
|
||||
|
||||
test = '{}:{}'.format(IP_SUNSTONE, VNC_PROXY_PORT_SUNSTONE)
|
||||
AGENTS.append(TCPServices('proxyvnc', {test: "Proxy VNC"}, period=115,
|
||||
description="Etat du serveur Proxy VNC"))
|
|
@ -0,0 +1,14 @@
|
|||
# -*- coding: UTF-8 -*-
|
||||
"""
|
||||
Surveillance des services OpenNebula
|
||||
"""
|
||||
|
||||
from zephir.monitor.agents.services import TCPServices
|
||||
from zephir.monitor.agentmanager.config import (ACTIVER_ONEFLOW,
|
||||
IP_ONEFLOW,
|
||||
PORT_ONEFLOW)
|
||||
|
||||
if ACTIVER_ONEFLOW:
|
||||
test = '{}:{}'.format(IP_ONEFLOW, PORT_ONEFLOW)
|
||||
AGENTS.append(TCPServices('oneflow', {test: "oneFlow"}, period=115,
|
||||
description="Etat du serveur oneFlow"))
|
|
@ -0,0 +1,9 @@
|
|||
# -*- coding: UTF-8 -*-
|
||||
"""
|
||||
Surveillance des services OpenNebula
|
||||
"""
|
||||
|
||||
from zephir.monitor.agents.services import StatusService
|
||||
|
||||
AGENTS.append(StatusService('openvswitch', {'openvswitch-switch' : "OpenVswitch"}, period=115,
|
||||
description="Etat du serveur OpenVswitch"))
|
Loading…
Reference in New Issue