nettoyage d'autostatus
Ignore-this: 675bdbfe66510721539458fd8d7e37d4 darcs-hash:20120113050024-dd9a4-bf83f5db788084b4a041d33722db9f3c90bb6eed.gz
This commit is contained in:
parent
d59999f2a7
commit
08517de40c
1 changed files with 51 additions and 36 deletions
|
@ -29,42 +29,60 @@ class autostatus(gen_config) :
|
||||||
CONFFILE = '/usr/scripts/var/autostatus/hosts'
|
CONFFILE = '/usr/scripts/var/autostatus/hosts'
|
||||||
|
|
||||||
# machines crans à ne pas mettre dans l'autostatus
|
# machines crans à ne pas mettre dans l'autostatus
|
||||||
pasimportant = ["non-configure.wifi.crans.org",
|
pasimportant = [# Serveurs de tests
|
||||||
"kiss.crans.org",
|
"test.adm.crans.org",
|
||||||
"freebox.crans.org",
|
|
||||||
"ns0.crans.org",
|
|
||||||
"prove.crans.org",
|
|
||||||
"ssh2.crans.org",
|
|
||||||
"reboot-p1.crans.org",
|
|
||||||
"reboot-p2.crans.org",
|
|
||||||
"reboot-default.crans.org",
|
|
||||||
"minigiga.adm.crans.org",
|
|
||||||
"newldap.adm.crans.org",
|
|
||||||
"ytrap-llatsni.crans.org",
|
|
||||||
"pegase.adm.crans.org",
|
|
||||||
|
|
||||||
# Pas ou plus en production
|
|
||||||
"fz.crans.org",
|
|
||||||
"fz-ilo.adm.crans.org",
|
|
||||||
"dyson.crans.org",
|
|
||||||
"malloc.crans.org",
|
|
||||||
"ragnarok.crans.org",
|
|
||||||
"morgan.crans.org",
|
|
||||||
|
|
||||||
# DomUs de test
|
|
||||||
"bcfg2tmp0.adm.crans.org",
|
"bcfg2tmp0.adm.crans.org",
|
||||||
"bcfg2tmp0.crans.org",
|
"bcfg2tmp0.crans.org",
|
||||||
"bcfg2tmp1.adm.crans.org",
|
"bcfg2tmp1.adm.crans.org",
|
||||||
"bcfg2tmp1.crans.org",
|
"bcfg2tmp1.crans.org",
|
||||||
"diskless.crans.org",
|
"diskless.crans.org",
|
||||||
"kvm.adm.crans.org",
|
"notyetbroken.crans.org",
|
||||||
|
"notyetbroken.adm.crans.org",
|
||||||
|
"willbreaksoon.crans.org",
|
||||||
|
"willbreaksoon.adm.crans.org",
|
||||||
|
"obm.crans.org",
|
||||||
|
"obm.adm.crans.org",
|
||||||
|
"ragnarok.crans.org", # serveur de tests OpenVZ
|
||||||
|
|
||||||
# Switchs Virtuels
|
# Config par défaut
|
||||||
"batv-1.adm.crans.org",
|
|
||||||
"batv-2.adm.crans.org",
|
|
||||||
"batv-3.adm.crans.org",
|
|
||||||
|
|
||||||
"multiprise.adm.crans.org",
|
"non-configure.wifi.crans.org",
|
||||||
|
"kiss.crans.org",
|
||||||
|
"freebox.crans.org",
|
||||||
|
"ssh2.crans.org",
|
||||||
|
"reboot-p1.crans.org",
|
||||||
|
"reboot-p2.crans.org",
|
||||||
|
"reboot-default.crans.org",
|
||||||
|
"minigiga.adm.crans.org",
|
||||||
|
"ytrap-llatsni.crans.org",
|
||||||
|
"pegase.adm.crans.org",
|
||||||
|
|
||||||
|
# Pas ou plus en production
|
||||||
|
"fz.crans.org",
|
||||||
|
"malloc.crans.org", # serveur inutilisé
|
||||||
|
"morgan.crans.org",
|
||||||
|
"venus.crans.org", # ancienne cableuse
|
||||||
|
"cableuse.crans.org",
|
||||||
|
"dyson-g.crans.org", # dyson n'est plus routeur du G
|
||||||
|
"gordon-22.wifi.crans.org",
|
||||||
|
"gordon-24.wifi.crans.org",
|
||||||
|
|
||||||
|
# Bornes wifi de test
|
||||||
|
"laga.wifi.crans.org",
|
||||||
|
|
||||||
|
# Modules de surveillance des locaux
|
||||||
|
"vigile--1i.adm.crans.org",
|
||||||
|
"vigile-0a.adm.crans.org",
|
||||||
|
"vigile-0b.adm.crans.org",
|
||||||
|
"vigile-0c.adm.crans.org",
|
||||||
|
"vigile-0g.adm.crans.org",
|
||||||
|
"vigile-0h.adm.crans.org",
|
||||||
|
"vigile-0j.adm.crans.org",
|
||||||
|
"vigile-0m.adm.crans.org",
|
||||||
|
"vigile-2b.adm.crans.org",
|
||||||
|
"vigile-2g.adm.crans.org",
|
||||||
|
"vigile-4g.adm.crans.org",
|
||||||
|
"vigile-4j.adm.crans.org",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -118,13 +136,10 @@ class autostatus(gen_config) :
|
||||||
|
|
||||||
infos_routeurs = {}
|
infos_routeurs = {}
|
||||||
infos_routeurs [ '138.231.136.4' ] = ['Komaz', u'Routeur principal du CRANS']
|
infos_routeurs [ '138.231.136.4' ] = ['Komaz', u'Routeur principal du CRANS']
|
||||||
infos_routeurs [ '138.231.135.5' ] = ['IRTS', u'Routeur de l\'ENS assurant la liaison CRANS<->ENS']
|
infos_routeurs [ '138.231.132.1' ] = ['Pioneer', u'Routeur principal de l\'ENS']
|
||||||
infos_routeurs [ '138.231.132.1' ] = ['Gateway', u'Routeur de l\'ENS']
|
|
||||||
infos_routeurs [ '138.231.176.1' ] = ['Pioneer', u'Routeur principal de l\'ENS']
|
|
||||||
infos_routeurs [ '193.49.65.1' ] = ['RenaterCachan1' , u'Routeur Renater' ]
|
infos_routeurs [ '193.49.65.1' ] = ['RenaterCachan1' , u'Routeur Renater' ]
|
||||||
infos_routeurs [ '193.51.181.186' ] = ['RenaterCachan2', u'Routeur Renater']
|
infos_routeurs [ '193.51.181.186' ] = ['RenaterCachan2', u'Routeur Renater']
|
||||||
infos_routeurs [ '193.51.180.166' ] = ['RenaterJussieu1', u'Routeur Renater']
|
infos_routeurs [ '193.51.189.237' ] = ['RenaterJussieu1', u'Routeur Renater']
|
||||||
infos_routeurs [ '193.51.180.158' ] = ['RenaterJussieu2', u'Routeur Renater']
|
|
||||||
|
|
||||||
# services extérieurs (triés par clé de dictionnaire)
|
# services extérieurs (triés par clé de dictionnaire)
|
||||||
# format [ nom, ip, port(0=ping), description ]
|
# format [ nom, ip, port(0=ping), description ]
|
||||||
|
@ -132,9 +147,9 @@ class autostatus(gen_config) :
|
||||||
services_exterieurs = {}
|
services_exterieurs = {}
|
||||||
services_exterieurs ['Videolan'] = [ 'Videolan', '88.191.250.2', 21, 'Le serveur FTP de Videolan. (Chatenay-Malabry, France)', 'nobody']
|
services_exterieurs ['Videolan'] = [ 'Videolan', '88.191.250.2', 21, 'Le serveur FTP de Videolan. (Chatenay-Malabry, France)', 'nobody']
|
||||||
services_exterieurs ['Free'] = [ 'Free', '212.27.60.27', 21, 'Le serveur FTP de free. (France)', 'nobody' ]
|
services_exterieurs ['Free'] = [ 'Free', '212.27.60.27', 21, 'Le serveur FTP de free. (France)', 'nobody' ]
|
||||||
services_exterieurs ['Monde'] = [ 'Monde', '193.51.224.7', 80, 'Est-ce que LeMonde.fr fonctionne ? (France)', 'nobody' ]
|
services_exterieurs ['Monde'] = [ 'Monde', '195.154.120.129', 80, 'Est-ce que LeMonde.fr fonctionne ? (France)', 'nobody' ]
|
||||||
services_exterieurs ['Yahoo!'] = [ 'Yahoo!', '206.190.60.37', 80, 'Est-ce que Yahoo! fonctionne ? (USA)', 'nobody' ]
|
services_exterieurs ['Yahoo!'] = [ 'Yahoo!', '206.190.60.37', 80, 'Est-ce que Yahoo! fonctionne ? (USA)', 'nobody' ]
|
||||||
services_exterieurs ['Google'] = [ 'Google', '66.249.92.104', 80, 'Est-ce que Google fonctionne ? (USA)', 'nobody' ]
|
services_exterieurs ['Google'] = [ 'Google', '173.194.34.20', 80, 'Est-ce que Google fonctionne ? (USA)', 'nobody' ]
|
||||||
|
|
||||||
# personnes à informer pour l'indiponibilité de certains serveurs
|
# personnes à informer pour l'indiponibilité de certains serveurs
|
||||||
contact = {}
|
contact = {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue