Project

General

Profile

Anomalie #1897

Pouvoir personnaliser les url de test

Added by Emmanuel GARETTE almost 12 years ago. Updated over 11 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
06/30/2011
Due date:
% Done:

100%

Distribution:

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

Revision eca16d83 (diff)
Added by Emmanuel Garette almost 12 years ago

utilisation des variables test_distant_domaine1 et test_distant_domaine2 pour tester l'acces web (ref #1897)

Revision fbb98572 (diff)
Added by Emmanuel Garette almost 12 years ago

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

#5 Updated by Joël Cuissinat over 11 years ago

  • Status changed from Résolu to Fermé
OK en candidate pour :
  • /usr/lib/python2.6/dist-packages/zephir/monitor/agents/web.py
  • /usr/share/eole/diagnose/eole/10-Reseau

Also available in: Atom PDF