Projet

Général

Profil

Tâche #13989

Scénario #10211: Ajouter un agent de surveillance sur les processus sympa

Faire un diagnose surveillant sympa

Ajouté par Emmanuel GARETTE il y a plus de 8 ans. Mis à jour il y a environ 8 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
10/11/2015
Echéance:
% réalisé:

0%

Temps estimé:
1.00 h
Restant à faire (heures):
0.0

Révisions associées

Révision 5cdbd737 (diff)
Ajouté par lolo il y a environ 8 ans

Ajout d'un diagnose pour les dÃmons sympa

#13989 @1h

Révision 81c3bafe (diff)
Ajouté par Laurent Flori il y a environ 8 ans

Ajout d'un saut de ligne en fin de diagnose

ref: #13989

Révision 228e94d3 (diff)
Ajouté par Laurent Flori il y a environ 8 ans

Ajout de .pl apres le nom du pid pour detecter sympa.pl

ref: #13989 @1h

Historique

#1 Mis à jour par Laurent Flori il y a environ 8 ans

  • Assigné à mis à Laurent Flori

#2 Mis à jour par Laurent Flori il y a environ 8 ans

  • Statut changé de Nouveau à En cours

#3 Mis à jour par Laurent Flori il y a environ 8 ans

  • Restant à faire (heures) changé de 1.0 à 0.5

#4 Mis à jour par Scrum Master il y a environ 8 ans

  • Statut changé de En cours à Résolu

#5 Mis à jour par Klaas TJEBBES il y a environ 8 ans

  • Statut changé de Résolu à En cours

Pour moi ça ne diagnose pas correctement :

root@scribek25:~# /usr/share/eole/diagnose/52-sympa
*** Gestion de listes SYMPA
.                       sympa => Ok
.                    archived => Ok
.                        bulk => Ok
.                     bounced => Ok
.                task_manager => Ok
root@scribek25:~# ps -edf|grep bulk
sympa     2875     1  0 10:26 ?        00:00:11 /usr/bin/perl /usr/lib/sympa/bin/bulk.pl
root      9157  5466  0 15:53 pts/0    00:00:00 grep --color=auto bulk
root@scribek25:~# kill 2875
root@scribek25:~# ps -edf|grep bulk
root      9161  5466  0 15:53 pts/0    00:00:00 grep --color=auto bulk
root@scribek25:~# /usr/share/eole/diagnose/52-sympa
*** Gestion de listes SYMPA
.                       sympa => Ok
.                    archived => Ok
.                        bulk => Ok
.                     bounced => Ok
.                task_manager => Ok

Autre exemple :

root@scribek25:~# ps -edf|grep archiv
sympa     2889     1  0 10:26 ?        00:00:01 /usr/bin/perl /usr/lib/sympa/bin/archived.pl
root      3253     1  0 10:27 ?        00:00:34 /usr/bin/python /usr/bin/twistd --syslog --pidfile /var/run/z_stats.pid -no zephiragents --config=configs --tmp=data --data=stats --archive=/tmp --static=static --actions=actions
root      9052  5466  0 15:53 pts/0    00:00:00 grep --color=auto archiv
root@scribek25:~# kill 2889
root@scribek25:~# ps -edf|grep archiv
root      3253     1  0 10:27 ?        00:00:34 /usr/bin/python /usr/bin/twistd --syslog --pidfile /var/run/z_stats.pid -no zephiragents --config=configs --tmp=data --data=stats --archive=/tmp --static=static --actions=actions
root      9057  5466  0 15:53 pts/0    00:00:00 grep --color=auto archiv
root@scribek25:~# /usr/share/eole/diagnose/52-sympa
*** Gestion de listes SYMPA
.                       sympa => Ok
.                    archived => Ok
.                        bulk => Ok
.                     bounced => Ok
.                task_manager => Ok

#6 Mis à jour par Scrum Master il y a environ 8 ans

  • Statut changé de En cours à Résolu

#7 Mis à jour par Klaas TJEBBES il y a environ 8 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) changé de 0.5 à 0.0
root@scribek25:~# /usr/share/eole/diagnose/52-sympa
*** Gestion de listes SYMPA
.                       sympa => Ok
.                    archived => Ok
.                        bulk => Ok
.                     bounced => Ok
.                task_manager => Ok

root@scribek25:~# ps -edf|grep archiv
sympa    12828     1  0 10:35 pts/0    00:00:00 /usr/bin/perl /usr/lib/sympa/bin/archived.pl
root     13163     1  0 10:35 ?        00:00:02 /usr/bin/python /usr/bin/twistd --syslog --pidfile /var/run/z_stats.pid -no zephiragents --config=configs --tmp=data --data=stats --archive=/tmp --static=static --actions=actions
root     15599  5921  0 10:55 pts/0    00:00:00 grep --color=auto archiv
root@scribek25:~# kill 12828
root@scribek25:~# /usr/share/eole/diagnose/52-sympa
*** Gestion de listes SYMPA
.                       sympa => Ok
.                    archived => Erreur
.                        bulk => Ok
.                     bounced => Ok
.                task_manager => Ok

root@scribek25:~# ps -edf|grep bulk
sympa    12824     1  0 10:35 pts/0    00:00:00 /usr/bin/perl /usr/lib/sympa/bin/bulk.pl
root     15670  5921  0 10:56 pts/0    00:00:00 grep --color=auto bulk
root@scribek25:~# kill 12824
root@scribek25:~# /usr/share/eole/diagnose/52-sympa
*** Gestion de listes SYMPA
.                       sympa => Ok
.                    archived => Erreur
.                        bulk => Erreur
.                     bounced => Ok
.                task_manager => Ok

root@scribek25:~# ps -edf|grep bounc
sympa    12832     1  0 10:35 pts/0    00:00:00 /usr/bin/perl /usr/lib/sympa/bin/bounced.pl
root     15716  5921  0 10:56 pts/0    00:00:00 grep --color=auto bounc
root@scribek25:~# kill 12832
root@scribek25:~# /usr/share/eole/diagnose/52-sympa
*** Gestion de listes SYMPA
.                       sympa => Ok
.                    archived => Erreur
.                        bulk => Erreur
.                     bounced => Erreur
.                task_manager => Ok

root@scribek25:~# ps -edf|grep task_ma
sympa    12836     1  0 10:35 pts/0    00:00:00 /usr/bin/perl /usr/lib/sympa/bin/task_manager.pl
root     15762  5921  0 10:56 pts/0    00:00:00 grep --color=auto task_ma
root@scribek25:~# kill 12836
root@scribek25:~# /usr/share/eole/diagnose/52-sympa
*** Gestion de listes SYMPA
.                       sympa => Ok
.                    archived => Erreur
.                        bulk => Erreur
.                     bounced => Erreur
.                task_manager => Erreur

root@scribek25:~# service sympa restart
Restarting Sympa subsystem: 
Stopping Sympa subsystem: 
Module bounced.pl not running
Module archived.pl not running
Module bulk.pl not running
Stopping module sympa.pl: success

Module task_manager.pl not running
Starting Sympa subsystem: 
Starting module sympa.pl: success

Starting module bulk.pl: success

Starting module archived.pl: success

Starting module bounced.pl: success

Starting module task_manager.pl: success

root@scribek25:~# /usr/share/eole/diagnose/52-sympa
*** Gestion de listes SYMPA
.                       sympa => Ok
.                    archived => Ok
.                        bulk => Ok
.                     bounced => Ok
.                task_manager => Ok

Formats disponibles : Atom PDF