Anomalie #1897
Pouvoir personnaliser les url de test
100%
Description
Proposition pne-reseaux :
Dans : /usr/lib/python2.6/dist-packages/zephir/monitor/agents/web.py
+ if 'ead_url1' in conf_eole and 'ead_url2' in conf_eole and conf_eole['ead_url1'] != '' and conf_eole['ead_url2'] != '':
+ ead_url1 = conf_eole['ead_url1']
+ ead_url2 = conf_eole['ead_url2']
+ else:
+ ead_url1 = 'www.google.fr'
+ ead_url2 = 'www.yahoo.fr'
## test accès distant ##
- return testweb(mesures, 'Accès Distant', http_proxy, 'bp-eole.ac-dijon.fr', 'google.fr')
-
+ return testweb(mesures, 'Accès Distant', http_proxy, ead_url1, ead_url2)
+ ## PNER modif fin
+
Dans /usr/share/eole/diagnose/eole/10-Reseau :
-TestWeb "Acces distant" bp-eole.ac-dijon.fr google.fr
+TestWeb "Acces distant" %%ead_url1 %%ead_url2
Associated revisions
utilisation des variables test_distant_domaine1 et test_distant_domaine2 pour tester l'acces web (ref #1897)
utilisation des variables test_distant_domaine1 et test_distant_domaine2 pour tester l'acces web (fixes #1897)
History
#1 Updated by Emmanuel GARETTE almost 12 years ago
Création de 2 variables dans l'onglet (en mode expert) "reseau-avance" :
- test_distant_domaine1
- test_distant_domaine2
#2 Updated by Emmanuel GARETTE almost 12 years ago
- Assigned To set to Emmanuel GARETTE
#3 Updated by Emmanuel GARETTE almost 12 years ago
- Project changed from Distribution EOLE to eole-common
#4 Updated by Emmanuel GARETTE almost 12 years ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit fbb98572b0baddf8a1047ae8b899f6231776dd76.
#5 Updated by Joël Cuissinat over 11 years ago
- Status changed from Résolu to Fermé
- /usr/lib/python2.6/dist-packages/zephir/monitor/agents/web.py
- /usr/share/eole/diagnose/eole/10-Reseau