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
Révisions associées
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)
Historique
#1 Mis à jour par Emmanuel GARETTE il y a presque 13 ans
Création de 2 variables dans l'onglet (en mode expert) "reseau-avance" :
- test_distant_domaine1
- test_distant_domaine2
#2 Mis à jour par Emmanuel GARETTE il y a presque 13 ans
- Assigné à mis à Emmanuel GARETTE
#3 Mis à jour par Emmanuel GARETTE il y a presque 13 ans
- Projet changé de Distribution EOLE à eole-common
#4 Mis à jour par Emmanuel GARETTE il y a presque 13 ans
- Statut changé de Nouveau à Résolu
- % réalisé changé de 0 à 100
Appliqué par commit fbb98572b0baddf8a1047ae8b899f6231776dd76.
#5 Mis à jour par Joël Cuissinat il y a presque 13 ans
- Statut changé de Résolu à Fermé
- /usr/lib/python2.6/dist-packages/zephir/monitor/agents/web.py
- /usr/share/eole/diagnose/eole/10-Reseau