Projecte

General

Perfil

Actions

Característica #155

tancat

bmx health daemon

Afegit per Axel Neumann fa casi 12 anys. Actualitzat fa casi 5 anys.

Estat:
Tancat
Prioritat:
Baixa
Assignat a:
Categoria:
Init scripts
Versió prevista:
-
Inici:
06-06-2012
Data de venciment:
% realitzat:

100%

Temps previst:
4:00 h
Temps invertit:

Descripció

It can happen that bmx6 crashes due to bugs and unforseen scenarios. If such events happen seldom they are likely to be overseen unless (according to Murphy's) its showtime in a productive deployments.

One option to improve the chances of finding such bugs is
a daemon in charge of monitoring the health of bmx6 process.

This daemon should be started/stopped by qmp's /etc/init.d/bmx6 start/stop functions.
Whenever it detects that bmx6 process has died it should save (append) the system log file (logread) to a permanent file (eg. /root/bmx6-errors.log) without overwriting previous errors.

Then it should restart the daemon.
Optionally, send a nice diplomatic email to the bmx6 author or node owner saying that something f*** up!

The daemon must be stopped when bmx6 is stopped on purpose.

Actions #1

Actualitzat per Roger Pueyo Centelles fa casi 5 anys

  • Assignat a s'ha establert a Axel Neumann
  • % realitzat ha canviat de 0 a 100
  • Temps previst s'ha establert a 4:00 h

Pau and Simó made it, in early 2013.

qmp-system/files/etc/qmp/bmx6health.sh

Actions #2

Actualitzat per Roger Pueyo Centelles fa casi 5 anys

  • Estat ha canviat de Nou a Resolt
Actions #3

Actualitzat per Roger Pueyo Centelles fa casi 5 anys

  • Estat ha canviat de Resolt a Tancat
Actions

També disponible a: Atom PDF