View Issue Details

IDProjectCategoryView StatusLast Update
0000029CAMAP/InterAMAP44CAMAPpublic2023-07-08 15:59
ReporterAmaury Assigned ToAmaury  
PrioritynormalSeveritymajorReproducibilityrandom
Status closedResolutionfixed 
PlatformGandiVPSOSDebianOS Version11
Product VersionPreprod 
Target VersionPreprodFixed in Versionv1 (Prod InterAMAP44) 
Summary0000029: Crash containers nest-camap
Description

Crash du container nest-camap

TagsNo tags attached.

Activities

Amaury

2023-05-18 12:54

administrator   ~0000034

copier le script monitor-nest.sh dans /srv/data/CAMAP Ajouter /5 * /srv/data/CAMAP/monitor-nest.sh 1>/dev/null 2>&1 dans le cron

monitor-nest.sh (350 bytes)   
#!/bin/bash
# Tente une connexion sur nest-camap port 3010
# Si échec fait un restart
if [ -f PAUSE ]
then
    exit
else
    curl "http://nest-camap.docker:3010" > /dev/null 2>&1
    UP=$?
fi
if [ $UP -ne 0 ]
then
        cd /srv/data/CAMAP/camap-ts/docker-compose
        docker compose restart nest-camap
        echo "restarting nest-camap"
fi


monitor-nest.sh (350 bytes)   

Amaury

2023-05-18 12:55

administrator   ~0000035

Pour suspendre le monitoring si l'on veut arrêter les containers volontairement, créer un fichier PAUSE dans /srv/data/CAMAP touch /srv/data/CAMAP/PAUSE

Issue History

Date Modified Username Field Change
2023-05-18 12:52 Amaury New Issue
2023-05-18 12:52 Amaury Status new => assigned
2023-05-18 12:52 Amaury Assigned To => Amaury
2023-05-18 12:54 Amaury Note Added: 0000034
2023-05-18 12:54 Amaury File Added: monitor-nest.sh
2023-05-18 12:54 Amaury Summary Crash containers CAMAP => Crash containers nest-camap
2023-05-18 12:54 Amaury Description Updated
2023-05-18 12:54 Amaury Status assigned => resolved
2023-05-18 12:54 Amaury Resolution open => fixed
2023-05-18 12:55 Amaury Note Added: 0000035
2023-05-24 21:55 Amaury Target Version v1 (Prod InterAMAP44) =>
2023-05-24 22:02 Amaury Target Version => Preprod
2023-07-08 15:59 Amaury Status resolved => closed
2023-07-08 15:59 Amaury Fixed in Version => v1 (Prod InterAMAP44)
2023-07-15 16:49 Amaury Category CAMAP Amap44 => CAMAP