ajout des différents fichiers srv (ref #17290 @2h)
This commit is contained in:
parent
33209a8fae
commit
43cdf910f6
9
zephir/srv/30_libvirt.srv
Normal file
9
zephir/srv/30_libvirt.srv
Normal file
@ -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"))
|
9
zephir/srv/31_opennebula.srv
Normal file
9
zephir/srv/31_opennebula.srv
Normal file
@ -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"))
|
9
zephir/srv/32_xmlrpc.srv
Normal file
9
zephir/srv/32_xmlrpc.srv
Normal file
@ -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"))
|
12
zephir/srv/33_sunstone.srv
Normal file
12
zephir/srv/33_sunstone.srv
Normal file
@ -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"))
|
12
zephir/srv/34_proxyvnc.srv
Normal file
12
zephir/srv/34_proxyvnc.srv
Normal file
@ -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"))
|
14
zephir/srv/35_oneflow.srv
Normal file
14
zephir/srv/35_oneflow.srv
Normal file
@ -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"))
|
9
zephir/srv/36_openvswitch.srv
Normal file
9
zephir/srv/36_openvswitch.srv
Normal file
@ -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
Block a user