Project

General

Profile

Scénario #17371

Afficher le nombre de VPN établis dans diagnose

Added by Olivier FEBWIN over 6 years ago. Updated over 3 years ago.

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
-
Category:
-
Start date:
11/28/2016
Due date:
01/17/2020
% Done:

100%

Estimated time:
(Total: 2.00 h)
Story points:
2.0
Remaining (hours):
0.00 hour
Velocity based estimate:
Release:
Release relationship:
Auto

Description

Dans diagnose sur Sphynx, il serait pratique de connaître* le nombre de VPN* OK plutôt qu'un simple "OK".

Il faudrait afficher quelque chose comme : nombre de tunnels actifs / Total tunnels

Solutions à mettre en œuvre

  • ajouter les informations dans diagnose pour Sphynx >= 2.7.1
  • on pourra s'inspirer (et éventuellement mutualiser ?) du code de l'agent "rvp" (Etat des tunnels)

Critères d'acceptation

  • les informations sont visibles dans diagnose

Subtasks

Tâche #18147: Faire le tour des tests Squash Sphynx et adapter la sortie diagnoseFermé

Tâche #29468: Ajouter l’information du nombre de tunnels actifs dans diagnose.Fermé


Related issues

Related to Sphynx - Scénario #17390: Enrichir l'agent RVP pour Amon/Sphynx et diagnose avec des tests OCSP Nouveau
Related to Distribution EOLE - Tâche #29412: Validation du scénario : Afficher le nombre de VPN établis dans diagnose Fermé 12/18/2019

History

#1 Updated by Fabrice Barconnière over 6 years ago

  • Tracker changed from Demande to Tâche
  • Project changed from Sphynx to eole-vpn
  • Estimated time set to 1.00 h
  • Parent task set to #17390
  • Remaining (hours) set to 1.0

#2 Updated by Olivier FEBWIN over 6 years ago

Pour le moment on fait un

echo "`ipsec status|grep INSTALLED|cut -d "-" -f 2,3|uniq|wc -l` (`ipsec status|grep INSTALLED|wc -l` VPN)" 

#3 Updated by Fabrice Barconnière over 6 years ago

  • Estimated time changed from 1.00 h to 3.00 h
  • Remaining (hours) changed from 1.0 to 3.0

#4 Updated by Olivier FEBWIN over 6 years ago

ou mieux encore :

echo "`ipsec status|grep INSTALLED|cut -d "-" -f 2,3|sort|uniq|wc -l` (`ipsec status|grep INSTALLED|wc -l` VPN) / $((`cat /etc/ipsec.conf |grep CN|cut -d= -f8|cut -d. -f1|sort|uniq|wc -l`-1))" 

#5 Updated by Joël Cuissinat over 3 years ago

  • Subject changed from Afficher le nombre de VPN établit to Afficher le nombre de VPN établis
  • Start date deleted (10/03/2016)
  • Estimated time deleted (3.00 h)
  • Parent task deleted (#17390)
  • Remaining (hours) deleted (3.0)

#6 Updated by Joël Cuissinat over 3 years ago

  • Tracker changed from Tâche to Scénario

#7 Updated by Joël Cuissinat over 3 years ago

  • Related to Scénario #17390: Enrichir l'agent RVP pour Amon/Sphynx et diagnose avec des tests OCSP added

#8 Updated by Joël Cuissinat over 3 years ago

  • Subject changed from Afficher le nombre de VPN établis to Afficher le nombre de VPN établis dans diagnose
  • Release set to EOLE 2.7.1.2
  • Story points set to 2.0

#9 Updated by Joël Cuissinat over 3 years ago

  • Description updated (diff)

#10 Updated by Joël Cuissinat over 3 years ago

  • Due date set to 01/17/2020
  • Target version set to Prestation Cadoles 51-03
  • Start date set to 12/16/2019

#11 Updated by Joël Cuissinat over 3 years ago

  • Related to Tâche #29412: Validation du scénario : Afficher le nombre de VPN établis dans diagnose added

#12 Updated by Daniel Dehennin over 3 years ago

  • Release changed from EOLE 2.7.1.2 to EOLE 2.7.1.3

#13 Updated by Fabrice Barconnière over 3 years ago

  • Status changed from Nouveau to Terminé (Sprint)

Also available in: Atom PDF