Projet

Général

Profil

Anomalie #1897

Pouvoir personnaliser les url de test

Ajouté par Emmanuel GARETTE il y a presque 13 ans. Mis à jour il y a presque 13 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Début:
30/06/2011
Echéance:
% réalisé:

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

Révisions associées

Révision eca16d83 (diff)
Ajouté par Emmanuel Garette il y a presque 13 ans

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

Révision fbb98572 (diff)
Ajouté par Emmanuel Garette il y a presque 13 ans

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

#5 Mis à jour par Joël Cuissinat il y a presque 13 ans

  • Statut changé de Résolu à Fermé
OK en candidate pour :
  • /usr/lib/python2.6/dist-packages/zephir/monitor/agents/web.py
  • /usr/share/eole/diagnose/eole/10-Reseau

Formats disponibles : Atom PDF