Project

General

Profile

Tâche #13989

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

Faire un diagnose surveillant sympa

Added by Emmanuel GARETTE over 4 years ago. Updated over 4 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
11/10/2015
Due date:
% Done:

0%

Estimated time:
1.00 h
Remaining (hours):
0.0

Associated revisions

Revision 5cdbd737 (diff)
Added by lolo over 4 years ago

Ajout d'un diagnose pour les dÃmons sympa

#13989 @1h

Revision 81c3bafe (diff)
Added by Laurent Flori over 4 years ago

Ajout d'un saut de ligne en fin de diagnose

ref: #13989

Revision 228e94d3 (diff)
Added by Laurent Flori over 4 years ago

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

ref: #13989 @1h

History

#1 Updated by Laurent Flori over 4 years ago

  • Assigned To set to Laurent Flori

#2 Updated by Laurent Flori over 4 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Laurent Flori over 4 years ago

  • Remaining (hours) changed from 1.0 to 0.5

#4 Updated by Scrum Master over 4 years ago

  • Status changed from En cours to Résolu

#5 Updated by Klaas TJEBBES over 4 years ago

  • Status changed from Résolu to 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 Updated by Scrum Master over 4 years ago

  • Status changed from En cours to Résolu

#7 Updated by Klaas TJEBBES over 4 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.5 to 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

Also available in: Atom PDF