Auteur Sujet: [RESOLU] - [Zone Dept 77] Coupures de services (bagottage?) - Sept 2019  (Lu 15147 fois)

0 Membres et 1 Invité sur ce sujet

Micka77

  • Abonné Orange Fibre
  • *
  • Messages: 3
[CHELLES 77500] Coupures de services (bagottage?)
« Réponse #48 le: 23 septembre 2018 à 20:40:36 »
Meme chose... c'est reparti, deux fois là

JuJuBoSc

  • Abonné Orange Fibre
  • *
  • Messages: 9
  • Magny le Hongre (77)
[CHELLES 77500] Coupures de services (bagottage?)
« Réponse #49 le: 23 septembre 2018 à 21:19:01 »
Pareil aux même heures que vous, par contre mon ERL remonte pas le lien correctement j'ai l'impression, obligé de le reboot.

Micka77

  • Abonné Orange Fibre
  • *
  • Messages: 3
[CHELLES 77500] Coupures de services (bagottage?)
« Réponse #50 le: 23 septembre 2018 à 21:52:06 »
ça commence à me gaver cette histoire... et sur le site d'orange pas de problème c'est bien noté qu'il y avait un incident dans le secteur et que celui ci a été résolu...

kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
[CHELLES 77500] Coupures de services (bagottage?)
« Réponse #51 le: 23 septembre 2018 à 21:53:30 »
Rebelotte à partir de 20h30 c'est le bordel :(

Sep 23 20:32:58 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 20:32:58 erl-3 watchdog: Internet connection is broken
Sep 23 20:32:59 erl-3 watchdog: Failed pinging www.google.com
Sep 23 20:32:59 erl-3 watchdog: Internet connection is broken
Sep 23 20:33:02 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 20:33:02 erl-3 watchdog: Internet connection is broken
Sep 23 20:33:02 erl-3 watchdog: Failed pinging www.google.com
Sep 23 20:33:02 erl-3 watchdog: Internet connection is broken
Sep 23 20:39:57 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 20:39:57 erl-3 watchdog: Internet connection is broken
Sep 23 20:39:58 erl-3 watchdog: Failed pinging www.google.com
Sep 23 20:39:58 erl-3 watchdog: Internet connection is broken
Sep 23 20:40:01 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 20:40:01 erl-3 watchdog: Internet connection is broken
Sep 23 20:40:02 erl-3 watchdog: Failed pinging www.google.com
Sep 23 20:40:02 erl-3 watchdog: Internet connection is broken
Sep 23 20:46:57 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 20:46:57 erl-3 watchdog: Internet connection is broken
Sep 23 20:46:58 erl-3 watchdog: Failed pinging www.google.com
Sep 23 20:46:58 erl-3 watchdog: Internet connection is broken
Sep 23 20:47:01 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 20:47:01 erl-3 watchdog: Internet connection is broken
Sep 23 20:47:02 erl-3 watchdog: Failed pinging www.google.com
Sep 23 20:47:02 erl-3 watchdog: Internet connection is broken
Sep 23 20:53:57 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 20:53:57 erl-3 watchdog: Internet connection is broken
Sep 23 20:53:58 erl-3 watchdog: Failed pinging www.google.com
Sep 23 20:53:58 erl-3 watchdog: Internet connection is broken
Sep 23 20:54:01 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 20:54:01 erl-3 watchdog: Internet connection is broken
Sep 23 20:54:02 erl-3 watchdog: Failed pinging www.google.com
Sep 23 20:54:02 erl-3 watchdog: Internet connection is broken
Sep 23 21:06:57 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 21:06:57 erl-3 watchdog: Internet connection is broken
Sep 23 21:06:58 erl-3 watchdog: Failed pinging www.google.com
Sep 23 21:06:58 erl-3 watchdog: Internet connection is broken
Sep 23 21:07:02 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 21:07:02 erl-3 watchdog: Internet connection is broken
Sep 23 21:07:02 erl-3 watchdog: Failed pinging www.google.com
Sep 23 21:07:02 erl-3 watchdog: Internet connection is broken
Sep 23 21:13:57 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 21:13:57 erl-3 watchdog: Internet connection is broken
Sep 23 21:13:58 erl-3 watchdog: Failed pinging www.google.com
Sep 23 21:13:58 erl-3 watchdog: Internet connection is broken
Sep 23 21:14:01 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 21:14:01 erl-3 watchdog: Internet connection is broken
Sep 23 21:14:02 erl-3 watchdog: Failed pinging www.google.com
Sep 23 21:14:02 erl-3 watchdog: Internet connection is broken
Sep 23 21:20:58 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 21:20:58 erl-3 watchdog: Internet connection is broken
Sep 23 21:20:59 erl-3 watchdog: Failed pinging www.google.com
Sep 23 21:20:59 erl-3 watchdog: Internet connection is broken
Sep 23 21:21:02 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 21:21:02 erl-3 watchdog: Internet connection is broken
Sep 23 21:21:02 erl-3 watchdog: Failed pinging www.google.com
Sep 23 21:21:02 erl-3 watchdog: Internet connection is broken
Sep 23 21:27:57 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 21:27:57 erl-3 watchdog: Internet connection is broken
Sep 23 21:27:58 erl-3 watchdog: Failed pinging www.google.com
Sep 23 21:27:58 erl-3 watchdog: Internet connection is broken
Sep 23 21:28:01 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 21:28:01 erl-3 watchdog: Internet connection is broken
Sep 23 21:28:02 erl-3 watchdog: Failed pinging www.google.com
Sep 23 21:28:02 erl-3 watchdog: Internet connection is broken
Sep 23 21:35:57 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 21:35:57 erl-3 watchdog: Internet connection is broken
Sep 23 21:35:58 erl-3 watchdog: Failed pinging www.google.com
Sep 23 21:35:58 erl-3 watchdog: Internet connection is broken
Sep 23 21:36:01 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 21:36:01 erl-3 watchdog: Internet connection is broken
Sep 23 21:36:01 erl-3 watchdog: Failed pinging www.google.com
Sep 23 21:36:01 erl-3 watchdog: Internet connection is broken
Sep 23 21:42:57 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 21:42:57 erl-3 watchdog: Internet connection is broken
Sep 23 21:42:58 erl-3 watchdog: Failed pinging www.google.com
Sep 23 21:42:58 erl-3 watchdog: Internet connection is broken
Sep 23 21:43:01 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 21:43:01 erl-3 watchdog: Internet connection is broken
Sep 23 21:43:02 erl-3 watchdog: Failed pinging www.google.com
Sep 23 21:43:02 erl-3 watchdog: Internet connection is broken
Sep 23 21:49:57 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 21:49:57 erl-3 watchdog: Internet connection is broken
Sep 23 21:49:58 erl-3 watchdog: Failed pinging www.google.com
Sep 23 21:49:58 erl-3 watchdog: Internet connection is broken
Sep 23 21:50:01 erl-3 watchdog: Failed pinging www.orange.fr
Sep 23 21:50:01 erl-3 watchdog: Internet connection is broken
Sep 23 21:50:01 erl-3 watchdog: Failed pinging www.google.com
Sep 23 21:50:02 erl-3 watchdog: Internet connection is broken

@JuJuBoSc : J'avais une erreur sur le script watchdog avec la détection de la route par défaut, j'ai du l'enlever,

essaye celui la

#!/bin/vbash
run=/opt/vyatta/bin/vyatta-op-cmd-wrapper

NEW_IP=`/sbin/ifconfig eth0.832 2>/dev/null | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`

if [ -z "$NEW_IP" ]; then
  logger -t watchdog -p err "Interface eth0.832 down"
    exit 0
    fi

    # The list of hosts to ping
    PING_HOSTS="www.orange.fr www.google.com"

    # Reading the default gateway

    # Pinging hosts, stopping at the first answer
    for HOST in $PING_HOSTS; do
      logger -t watchdog -p info "Pinging $HOST"
        /bin/ping -c4 $HOST > /dev/null 2>&1
          if [ $? -ne 0 ]; then
              logger -t watchdog -p warn "Failed pinging $HOST"
               logger -t watchdog -p err "Internet connection is broken"
               $run renew dhcp interface eth0.832
               $run renew dhcp interface eth0.838

                else
                    exit 0
                      fi
                      done
« Modifié: 24 septembre 2018 à 00:07:01 par kaktuss77 »

zoc

  • Abonné Orange Fibre
  • *
  • Messages: 4 281
  • Antibes (06) / Mercury (73)
[CHELLES 77500] Coupures de services (bagottage?)
« Réponse #52 le: 24 septembre 2018 à 08:21:20 »
Vu ce que fait ton script (renouvellement du bail au premier ping qui fail), je ne vois pas trop l'intérêt d'avoir une liste d'adresses à pinguer... Il ne faudrait relancer le client DHCP que si le ping échoue sur toutes les adresses. Ca permettrait de se protéger d'un renouvellement de bail inutile si un des sites en question est en maintenance/injoignable temporairement mais que la connexion est fonctionnelle.

kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
[CHELLES 77500] Coupures de services (bagottage?)
« Réponse #53 le: 24 septembre 2018 à 08:27:04 »
Bonjour zoc

Merci pour ta réponse.

Le script c'est le orange_watchdog avec la partie route par défaut en moins.

zoc

  • Abonné Orange Fibre
  • *
  • Messages: 4 281
  • Antibes (06) / Mercury (73)
[CHELLES 77500] Coupures de services (bagottage?)
« Réponse #54 le: 24 septembre 2018 à 08:38:42 »
Bah non, puisqu'en enlevant le truc de la route par défaut (qui est de moi et fonctionne parfaitement chez moi); tu as du déplacer ça:
               $run renew dhcp interface eth0.832
               $run renew dhcp interface eth0.838

Et vu là où c'est maintenant, la boucle for ne sert strictement plus à rien...

kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
[CHELLES 77500] Coupures de services (bagottage?)
« Réponse #55 le: 24 septembre 2018 à 08:42:10 »
J'ai du l'enelver car la ligne pour récupérer la passerelle gênerait une erreur et que j'avais besoin qu'il fonctionne pour pas me faire un renew a la main toutes les 7 mins,

Faut que je me repense dessus.

Je te donnerais l'erreur quand j'aurais le PC sous les yeux.

Merci

kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
[CHELLES 77500] Coupures de services (bagottage?)
« Réponse #56 le: 24 septembre 2018 à 10:03:32 »
Voici le script qui ne fonctionne pas chez moi

#!/bin/vbash
run=/opt/vyatta/bin/vyatta-op-cmd-wrapper

NEW_IP=`/sbin/ifconfig eth0.832 2>/dev/null | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`

if [ -z "$NEW_IP" ]; then
  logger -t watchdog -p err "Interface eth1.832 down"
exit 0
fi

# The list of hosts to ping
    PING_HOSTS="www.orange.fr www.google.com"

# Reading the default gateway
    read _ _ GATEWAY _ <(/sbin/ip -4 route list match 0/0)  -----> cette ligne renvoi une erreur , et donc le script ne fonctionne pas

# Pinging hosts, stopping at the first answer
    for HOST in $PING_HOSTS; do
logger -t watchdog -p info "Pinging $HOST"
/bin/ping -c4 $HOST > /dev/null 2>&1
if [ $? -ne 0 ]; then
logger -t watchdog -p warn "Failed pinging $HOST"
else
exit 0
fi
done

# If we are here, then nothing is pinging. Try
# the default gateway
/bin/ping -c4 $GATEWAY > /dev/null 2>&1
if [ $? -ne 0 ]; then
logger -t watchdog -p err "Internet connection is broken"

$run renew dhcp interface eth0.832
$run renew dhcp interface eth0.838
fi

Voici l'erreur

orange_watchdog.sh.bak: line 15: syntax error near unexpected token `('
orange_watchdog.sh.bak: line 15: `    read _ _ GATEWAY _ <(/sbin/ip -4 route list match 0/0)'

zoc

  • Abonné Orange Fibre
  • *
  • Messages: 4 281
  • Antibes (06) / Mercury (73)
[CHELLES 77500] Coupures de services (bagottage?)
« Réponse #57 le: 24 septembre 2018 à 10:09:37 »
    read _ _ GATEWAY _ <(/sbin/ip -4 route list match 0/0)  -----> cette ligne renvoi une erreur , et donc le script ne fonctionne pas
Normal, il manque un < ...

read _ _ GATEWAY _ < <(/sbin/ip -4 route list match 0/0)

... et l'espace entre les 2 est important...


Dewzz77

  • Abonné Orange Fibre
  • *
  • Messages: 7
[CHELLES 77500] Coupures de services (bagottage?)
« Réponse #58 le: 24 septembre 2018 à 10:29:01 »
Bonjour à chelles hier soir pareil de nouveau des pertes de connexion.
Se matin pas de perte pour le moment .
Pour info il mentionne que c’est rétabli mais faux ils en ont  Jusqu a se soir 18h .

kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
[CHELLES 77500] Coupures de services (bagottage?)
« Réponse #59 le: 24 septembre 2018 à 10:38:22 »
Dans le dossier interne, un tech va remplacer une carte. L'intervention a eu ou va avoir lieu aujourd'hui

Edit : Merci Zoc je vais tester